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