public enum Permissions extends Enum<Permissions>
Enum Constant and Description |
---|
ANALYZE |
HELP |
IGNORE_COMMANDUSE |
INFO |
INSPECT |
INSPECT_OTHER |
MANAGE |
MANAGE_WEB |
QUICK_ANALYZE |
QUICK_INSPECT |
QUICK_INSPECT_OTHER |
RELOAD |
SEARCH |
Modifier and Type | Method and Description |
---|---|
String |
getPerm()
Same as
getPermission() . |
String |
getPermission()
Returns the permission node in plugin.yml.
|
static Permissions |
valueOf(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 QUICK_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_COMMANDUSE
public static Permissions[] values()
for (Permissions c : Permissions.values()) System.out.println(c);
public static Permissions valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic String getPermission()
public String getPerm()
getPermission()
.Copyright © 2017. All rights reserved.