public static enum CommandStatus.StatusCode extends java.lang.Enum<CommandStatus.StatusCode>
Enum Constant and Description |
---|
ACCEPTED |
CANCELLED |
COMPLETED |
FAILED |
PENDING |
REJECTED |
Modifier and Type | Method and Description |
---|---|
static CommandStatus.StatusCode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static CommandStatus.StatusCode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CommandStatus.StatusCode PENDING
public static final CommandStatus.StatusCode ACCEPTED
public static final CommandStatus.StatusCode REJECTED
public static final CommandStatus.StatusCode COMPLETED
public static final CommandStatus.StatusCode FAILED
public static final CommandStatus.StatusCode CANCELLED
public static CommandStatus.StatusCode[] values()
for (CommandStatus.StatusCode c : CommandStatus.StatusCode.values()) System.out.println(c);
public static CommandStatus.StatusCode valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null