public static enum AdHocCommand.Status extends Enum<AdHocCommand.Status>
Enum Constant and Description |
---|
canceled
The command has been canceled.
|
completed
The command has completed.
|
executing
The command is being executed.
|
Modifier and Type | Method and Description |
---|---|
static AdHocCommand.Status |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AdHocCommand.Status[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AdHocCommand.Status executing
public static final AdHocCommand.Status completed
public static final AdHocCommand.Status canceled
public static AdHocCommand.Status[] values()
for (AdHocCommand.Status c : AdHocCommand.Status.values()) System.out.println(c);
public static AdHocCommand.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