public static enum Constants.ContainerState extends Enum<Constants.ContainerState>
Modifier and Type | Method and Description |
---|---|
static Constants.ContainerState |
decode(int value)
Decode an int value into the proper ContainerStatus
|
static Constants.ContainerState |
decode(String value)
Decode a String value into the proper Container status
|
int |
toInt()
get the integer value of this status
|
static Constants.ContainerState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Constants.ContainerState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Constants.ContainerState STARTING
public static final Constants.ContainerState START
public static final Constants.ContainerState STOPPING
public static final Constants.ContainerState STOPPED
public static Constants.ContainerState[] values()
for (Constants.ContainerState c : Constants.ContainerState.values()) System.out.println(c);
public static Constants.ContainerState 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 int toInt()
public static Constants.ContainerState decode(int value) throws StreamBaseException
value
- value to decodeStreamBaseException
- for an unknown ContainerStatuspublic static Constants.ContainerState decode(String value) throws StreamBaseException
value
- value to decodeStreamBaseException
- for an unknown Container status