public static enum Command.Action extends java.lang.Enum<Command.Action>
Represents a command action.
Enum Constant and Description |
---|
CANCEL
The command should be canceled.
|
COMPLETE
The command should be completed (if possible).
|
EXECUTE
The command should be executed or continue to be executed.
|
NEXT
The command should progress to the next stage of execution.
|
PREV
The command should be digress to the previous stage of execution.
|
Modifier and Type | Method and Description |
---|---|
static Command.Action |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Command.Action[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Command.Action CANCEL
public static final Command.Action COMPLETE
public static final Command.Action EXECUTE
public static final Command.Action NEXT
public static final Command.Action PREV
public static Command.Action[] values()
for (Command.Action c : Command.Action.values()) System.out.println(c);
public static Command.Action 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.