public static enum ShellStatus.Status extends Enum<ShellStatus.Status>
Enum Constant and Description |
---|
EXECUTING |
EXECUTION_FAILED |
EXECUTION_RESULT_PROCESSING |
EXECUTION_SUCCESS |
PARSING |
SHUTTING_DOWN |
STARTED |
STARTING |
USER_INPUT |
Modifier and Type | Method and Description |
---|---|
static ShellStatus.Status |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ShellStatus.Status[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ShellStatus.Status STARTING
public static final ShellStatus.Status STARTED
public static final ShellStatus.Status USER_INPUT
public static final ShellStatus.Status PARSING
public static final ShellStatus.Status EXECUTING
public static final ShellStatus.Status EXECUTION_RESULT_PROCESSING
public static final ShellStatus.Status EXECUTION_SUCCESS
public static final ShellStatus.Status EXECUTION_FAILED
public static final ShellStatus.Status SHUTTING_DOWN
public static ShellStatus.Status[] values()
for (ShellStatus.Status c : ShellStatus.Status.values()) System.out.println(c);
public static ShellStatus.Status 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 null