Interface Role


public interface Role
A role to permission mapping.
Since:
7.0
Author:
Tristan Tarrant
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    Returns a pre-computed access mask which contains the permissions specified by this role
    Returns the name of this role
    Returns the list of permissions associated with this role
    boolean
    Whether this role can be implicitly inherited.
  • Method Details

    • getName

      String getName()
      Returns the name of this role
    • getPermissions

      Returns the list of permissions associated with this role
    • getMask

      int getMask()
      Returns a pre-computed access mask which contains the permissions specified by this role
    • isInheritable

      boolean isInheritable()
      Whether this role can be implicitly inherited.