public static enum CommandResult.COLOUR extends Enum<CommandResult.COLOUR>
Enum Constant and Description |
---|
gray |
green |
purple |
random |
red |
yellow |
Modifier and Type | Method and Description |
---|---|
static CommandResult.COLOUR |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CommandResult.COLOUR[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CommandResult.COLOUR yellow
public static final CommandResult.COLOUR red
public static final CommandResult.COLOUR green
public static final CommandResult.COLOUR purple
public static final CommandResult.COLOUR gray
public static final CommandResult.COLOUR random
public static CommandResult.COLOUR[] values()
for (CommandResult.COLOUR c : CommandResult.COLOUR.values()) System.out.println(c);
public static CommandResult.COLOUR 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.