Interface AccessControlEntryModifications

All Superinterfaces:
Comparable<AccessControlEntryModifications>
All Known Implementing Classes:
ImmutableAccessControlEntryModifications

@Immutable public interface AccessControlEntryModifications extends Comparable<AccessControlEntryModifications>
Specifies modifications of an access control entry.
Author:
Christian Bremer
  • Method Details

    • builder

      Creates new builder.
      Returns:
      the access control entry modifications builder
    • from

      Creates new builder from the given access control entry.
      Parameters:
      ace - the access control entry
      Returns:
      the access control entry modifications builder
    • getPermission

      String getPermission()
      Specifies the permission.
      Returns:
      the permission
    • isGuest

      @Default default boolean isGuest()
      Specifies whether anybody is granted or not.
      Returns:
      whether anybody is granted (true) or not (false)
    • getAddUsers

      @Default default Set<String> getAddUsers()
      Users to be added.
      Returns:
      the users to add
    • getRemoveUsers

      @Default default Set<String> getRemoveUsers()
      Users to be removed.
      Returns:
      the users to remove
    • getAddRoles

      @Default default Set<String> getAddRoles()
      Roles to be added.
      Returns:
      the roles to add
    • getRemoveRoles

      @Default default Set<String> getRemoveRoles()
      Roles to be removed.
      Returns:
      the roles to remove
    • getAddGroups

      @Default default Set<String> getAddGroups()
      Groups to be added.
      Returns:
      the groups to add
    • getRemoveGroups

      @Default default Set<String> getRemoveGroups()
      Groups to be removed.
      Returns:
      the groups to remove
    • compareTo

      default int compareTo(AccessControlEntryModifications o)
      Specified by:
      compareTo in interface Comparable<AccessControlEntryModifications>