public static enum CommandAction.Result extends Enum<CommandAction.Result>
Enum Constant and Description |
---|
FAILURE
The command execution failed.
|
SUCCESS
The command execution was successful.
|
Modifier and Type | Method and Description |
---|---|
static CommandAction.Result |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CommandAction.Result[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CommandAction.Result SUCCESS
public static final CommandAction.Result FAILURE
public static CommandAction.Result[] values()
for (CommandAction.Result c : CommandAction.Result.values()) System.out.println(c);
public static CommandAction.Result 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 © 2008-2013 Sonatype. All Rights Reserved.