public enum CommandActionState extends Enum<CommandActionState>
| Enum Constant and Description |
|---|
END_FAILURE |
END_SUCCESS |
EXECUTE |
| Modifier and Type | Method and Description |
|---|---|
static CommandActionState |
forValue(int value) |
int |
getValue() |
static CommandActionState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CommandActionState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CommandActionState EXECUTE
public static final CommandActionState END_SUCCESS
public static final CommandActionState END_FAILURE
public static CommandActionState[] values()
for (CommandActionState c : CommandActionState.values()) System.out.println(c);
public static CommandActionState 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 nullpublic int getValue()
public static CommandActionState forValue(int value)
Copyright © 2012. All Rights Reserved.