Interface PermissionFunction

Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface PermissionFunction
Function that calculates the permission settings for a given PermissionSubject.
  • Field Details

  • Method Details

    • getPermissionValue

      Tristate getPermissionValue(String permission)
      Gets the subjects setting for a particular permission.
      Parameters:
      permission - the permission
      Returns:
      the value the permission is set to