public enum CommandPermission extends java.lang.Enum<CommandPermission>
| Enum Constant and Description |
|---|
ADMIN |
ANY |
GAME_DIRECTORS |
HOST |
INTERNAL |
OWNER |
| Modifier and Type | Method and Description |
|---|---|
static CommandPermission |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static CommandPermission[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CommandPermission ANY
public static final CommandPermission GAME_DIRECTORS
public static final CommandPermission ADMIN
public static final CommandPermission HOST
public static final CommandPermission OWNER
public static final CommandPermission INTERNAL
public static CommandPermission[] values()
for (CommandPermission c : CommandPermission.values()) System.out.println(c);
public static CommandPermission 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 null