public enum InternalPerms extends Enum<InternalPerms> 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 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, valueOf
build, has
public 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()
Permissions
getBase
in interface Permissions
public String getNode()
Permissions
getNode
in interface Permissions
Copyright © 2017. All rights reserved.