public enum CLPerms extends Enum<CLPerms> implements Permissions
Permissions
enum for CodelanxLibEnum 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 CLPerms |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CLPerms[] |
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, valueOf
build, has
public static final CLPerms PROTECTION_OVERRIDE
Protections
classpublic static CLPerms[] values()
for (CLPerms c : CLPerms.values()) System.out.println(c);
public static CLPerms 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()
Permissions
getBase
in interface Permissions
public String getNode()
Permissions
getNode
in interface Permissions
Copyright © 2015. All rights reserved.