Package com.djrapitops.plan.settings
Enum Class Permissions
- All Implemented Interfaces:
Serializable
,Comparable<Permissions>
,Constable
Permissions class is used easily check every permission node.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescription -
Method Summary
Modifier and TypeMethodDescriptionget()
Returns the permission node in plugin.yml.getPerm()
Same asgetPermission()
.Returns the permission node in plugin.yml.static Permissions
Returns the enum constant of this class with the specified name.static Permissions[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
SERVER
-
SERVERS
-
NETWORK
-
PLAYER_SELF
-
PLAYER_OTHER
-
SEARCH
-
INGAME_SELF
-
INGAME_OTHER
-
REGISTER_SELF
-
REGISTER_OTHER
-
UNREGISTER_SELF
-
UNREGISTER_OTHER
-
SET_GROUP
-
LOGOUT_OTHER
-
INFO
-
RELOAD
-
DISABLE
-
USERS
-
DATA_BASE
-
DATA_BACKUP
-
DATA_RESTORE
-
DATA_MOVE
-
DATA_HOTSWAP
-
DATA_CLEAR
-
DATA_REMOVE_PLAYER
-
DATA_REMOVE_SERVER
-
DATA_EXPORT
-
DATA_IMPORT
-
JSON_SELF
-
JSON_OTHER
-
IGNORE_COMMAND_USE
-
IGNORE_AFK
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-
getPermission
Returns the permission node in plugin.yml.- Returns:
- permission node eg. plan.inspect.base
-
getPerm
Same asgetPermission()
.- Returns:
- permission node eg. plan.inspect.base
-
get
Returns the permission node in plugin.yml.- Returns:
- permission node eg. plan.inspect.base
-