public static enum CommandResult.STATUS extends Enum<CommandResult.STATUS>
Modifier and Type | Method and Description |
---|---|
static CommandResult.STATUS |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CommandResult.STATUS[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CommandResult.STATUS ok
public static final CommandResult.STATUS fail
public static final CommandResult.STATUS unknown
public static CommandResult.STATUS[] values()
for (CommandResult.STATUS c : CommandResult.STATUS.values()) System.out.println(c);
public static CommandResult.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 © 2008–2020 The Plugin People. All rights reserved.