Class BukkitPlatformPermission

java.lang.Object
wtf.choco.veinminer.platform.BukkitPlatformPermission
All Implemented Interfaces:
PlatformPermission

public final class BukkitPlatformPermission extends Object implements PlatformPermission
Bukkit implementation of PlatformPermission.
  • Method Details

    • getName

      public String getName()
      Description copied from interface: PlatformPermission
      Get the name (or "id") of this permission node.
      Specified by:
      getName in interface PlatformPermission
      Returns:
      the name
    • addChild

      public void addChild(PlatformPermission permission, boolean value)
      Description copied from interface: PlatformPermission
      Add the given PlatformPermission as a child of this permission node.
      Specified by:
      addChild in interface PlatformPermission
      Parameters:
      permission - the child permission to add
      value - whether or not the child permission will inherit the parent permission. If false, the child will inherit the inverse of its parent permission
    • recalculatePermissibles

      public void recalculatePermissibles()
      Description copied from interface: PlatformPermission
      Recalculate all permissible objects that have this permission attached to them.
      Specified by:
      recalculatePermissibles in interface PlatformPermission