public interface Permissions
Permissible
has a specific
permission or not. Meant for use on enum typesModifier and Type | Method and Description |
---|---|
default String |
build()
Builds the full permission string
|
String |
getBase()
Returns the base permission node for the plugin.
|
String |
getNode()
Returns the raw node for the specified enum constant without prefixing
|
default boolean |
has(Permissible p)
Determines whether or not the
Permissible has this permission |
String getBase()
String getNode()
default String build()
default boolean has(Permissible p)
Permissible
has this permissionp
- The Permissible
to check permissions fortrue
if the Permissible
has the permissionsCopyright © 2017. All rights reserved.