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