public enum Permissions extends java.lang.Enum<Permissions>
Enum Constant and Description |
---|
ANALYZE |
HELP |
IGNORE_AFK |
IGNORE_COMMAND_USE |
INFO |
INSPECT |
INSPECT_OTHER |
MANAGE |
MANAGE_WEB |
QUICK_INSPECT |
QUICK_INSPECT_OTHER |
RELOAD |
SEARCH |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getPerm()
Same as
getPermission() . |
java.lang.String |
getPermission()
Returns the permission node in plugin.yml.
|
static Permissions |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Permissions[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Permissions HELP
public static final Permissions INSPECT
public static final Permissions QUICK_INSPECT
public static final Permissions INSPECT_OTHER
public static final Permissions QUICK_INSPECT_OTHER
public static final Permissions ANALYZE
public static final Permissions SEARCH
public static final Permissions RELOAD
public static final Permissions INFO
public static final Permissions MANAGE
public static final Permissions MANAGE_WEB
public static final Permissions IGNORE_COMMAND_USE
public static final Permissions IGNORE_AFK
public static Permissions[] values()
for (Permissions c : Permissions.values()) System.out.println(c);
public static Permissions 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 getPermission()
public java.lang.String getPerm()
getPermission()
.