public static enum Command.Status extends java.lang.Enum<Command.Status>
Represents the status of the command.
| 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 Command.Status |
valueOf(java.lang.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 CANCELED
public static final Command.Status COMPLETED
public static final Command.Status EXECUTING
public static Command.Status[] values()
for (Command.Status c : Command.Status.values()) System.out.println(c);
public static Command.Status 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 nullCopyright © 2014–2019 XMPP.rocks. All rights reserved.