public enum InternalPerms extends Enum<InternalPerms> implements Permissions
Permissions enum for CodelanxLib| Enum Constant and Description |
|---|
PROTECTION_OVERRIDE
Allows bypassing protection provided by the
Protections class |
| Modifier and Type | Method and Description |
|---|---|
String |
getBase()
Returns the base permission node for the plugin.
|
String |
getNode()
Returns the raw node for the specified enum constant without prefixing
|
static InternalPerms |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static InternalPerms[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOfbuild, haspublic static final InternalPerms PROTECTION_OVERRIDE
Protections classpublic static InternalPerms[] values()
for (InternalPerms c : InternalPerms.values()) System.out.println(c);
public static InternalPerms 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 getBase()
PermissionsgetBase in interface Permissionspublic String getNode()
PermissionsgetNode in interface PermissionsCopyright © 2015. All rights reserved.