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