Class PermissionChange

java.lang.Object
com.atlassian.confluence.functest.rest.admin.model.PermissionChange
Direct Known Subclasses:
SubjectPermissionChange

@ParametersAreNonnullByDefault public class PermissionChange extends Object
Model object for PermissionsResource, representing a grant or revoke of a single permission.
See Also:
  • Constructor Details

    • PermissionChange

      protected PermissionChange()
    • PermissionChange

      protected PermissionChange(PermissionChange.Builder builder)
  • Method Details

    • shouldGrant

      public boolean shouldGrant()
      Whether to grant or revoke the permission.
    • getPermission

      public String getPermission()
      Get the permission to change: the string value (not the constant name) of a space permission, for example a value from com.atlassian.confluence.it.Permission#getValue()
    • builder

      public static PermissionChange.Builder builder()