Interface PermissionTree
- All Superinterfaces:
PermissionContainer
- All Known Subinterfaces:
MutablePermissionTree
A tree of permissions. A fancy radix tree if you will.
-
Method Summary
Modifier and TypeMethodDescriptionstatic PermissionTreeempty()Returns an immutable empty permission tree.A flattened map of permissions.static PermissionTreeimmutable(PermissionTree tree) Creates an immutable permission tree with the given tree.Methods inherited from interface com.xpdustry.distributor.api.permission.PermissionContainer
getPermission
-
Method Details
-
empty
Returns an immutable empty permission tree. -
immutable
Creates an immutable permission tree with the given tree.- Parameters:
tree- the tree- Returns:
- the immutable tree
-
getPermissions
A flattened map of permissions.
-