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