Class PermissionRegistry
java.lang.Object
me.lucko.luckperms.common.treeview.PermissionRegistry
- Direct Known Subclasses:
AsyncPermissionRegistry
Stores a collection of all permissions known to the platform.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidvoidInsert a permission into the registry.voidOffer a permission to the registry (to be potentially inserted asynchronously).
-
Constructor Details
-
PermissionRegistry
public PermissionRegistry()
-
-
Method Details
-
getRootNode
-
rootAsList
-
offer
Offer a permission to the registry (to be potentially inserted asynchronously).- Parameters:
permission- the permission
-
insert
Insert a permission into the registry.- Parameters:
permission- the permission
-
doInsert
-