public enum CompressionAction extends Enum<CompressionAction>
Enum Constant and Description |
---|
CANCEL_COMPRESSION
Cancel Compression.
|
COMMIT_COMPRESSION
Commit Compression.
|
NO_VALUE
Identifies no value.
|
START_COMPRESSION
Start Compression.
|
Modifier and Type | Method and Description |
---|---|
static CompressionAction |
forValue(byte value) |
byte |
getValue() |
static CompressionAction |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CompressionAction[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CompressionAction NO_VALUE
public static final CompressionAction START_COMPRESSION
public static final CompressionAction COMMIT_COMPRESSION
public static final CompressionAction CANCEL_COMPRESSION
public static CompressionAction[] values()
for (CompressionAction c : CompressionAction.values()) System.out.println(c);
public static CompressionAction valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic byte getValue()
public static CompressionAction forValue(byte value)
Copyright © 2012–2024 Onix Solutions. All rights reserved.