public static enum CommandStatus.State extends Enum<CommandStatus.State>
| Enum Constant and Description |
|---|
DONE_CANCELLED_FAILED |
DONE_CANCELLED_SUCCESS |
DONE_ERROR |
DONE_SUCCESS |
RUNNING |
TIMEOUT |
| Modifier and Type | Method and Description |
|---|---|
static CommandStatus.State |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CommandStatus.State[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CommandStatus.State TIMEOUT
public static final CommandStatus.State RUNNING
public static final CommandStatus.State DONE_SUCCESS
public static final CommandStatus.State DONE_ERROR
public static final CommandStatus.State DONE_CANCELLED_SUCCESS
public static final CommandStatus.State DONE_CANCELLED_FAILED
public static CommandStatus.State[] values()
for (CommandStatus.State c : CommandStatus.State.values()) System.out.println(c);
public static CommandStatus.State 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 nullCopyright © 2015 Actian Corporation. All Rights Reserved.