T - the identifier type of the holder@Immutable public interface HeldPermission<T>
PermissionHolder and a permission.| Modifier and Type | Method and Description |
|---|---|
Node |
asNode()
Converts this permission into a Node
|
ContextSet |
getContexts()
Gets the extra context for the permission.
|
OptionalLong |
getExpiry()
Gets the time in unix time when the permission will expire
|
T |
getHolder()
Gets the holder of the permission
|
String |
getPermission()
Gets the permission being held
|
Optional<String> |
getServer()
Gets the server where the permission is held
|
boolean |
getValue()
Gets the value of the permission
|
Optional<String> |
getWorld()
Gets the world where the permission is held
|
@Nonnull String getPermission()
boolean getValue()
@Nonnull Optional<String> getServer()
@Nonnull Optional<String> getWorld()
OptionalLong getExpiry()
ContextSet getContexts()
Copyright © 2018. All rights reserved.