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