Class PermissionRegistry

java.lang.Object
me.lucko.luckperms.common.treeview.PermissionRegistry
Direct Known Subclasses:
AsyncPermissionRegistry

public class PermissionRegistry extends Object
Stores a collection of all permissions known to the platform.
  • Constructor Details

    • PermissionRegistry

      public PermissionRegistry()
  • Method Details

    • getRootNode

      public TreeNode getRootNode()
    • rootAsList

      public List<String> rootAsList()
    • offer

      public void offer(String permission)
      Offer a permission to the registry (to be potentially inserted asynchronously).
      Parameters:
      permission - the permission
    • insert

      public void insert(String permission)
      Insert a permission into the registry.
      Parameters:
      permission - the permission
    • doInsert

      protected void doInsert(String permission)