public interface PermissionData extends CachedDataContainer
| Modifier and Type | Method and Description |
|---|---|
@NonNull Map<String,Boolean> |
getImmutableBacking()
Gets an immutable copy of the permission map backing the permission calculator
|
@NonNull Tristate |
getPermissionValue(@NonNull String permission)
Gets a permission check result for the given permission node.
|
void |
invalidateCache()
Invalidates the underlying permission calculator cache.
|
getContexts@NonNull Tristate getPermissionValue(@NonNull String permission)
permission - the permission nodeNullPointerException - if permission is nullvoid invalidateCache()
Can be called to allow for an update in defaults.