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 forPermissionsResource
, representing a grant or revoke of a single permission.- See Also:
SubjectPermissionChange
,PermissionsResource
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
PermissionChange.Builder<T extends PermissionChange.Builder>
-
Constructor Summary
Constructors Modifier Constructor Description protected
PermissionChange()
protected
PermissionChange(PermissionChange.Builder builder)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static PermissionChange.Builder
builder()
String
getPermission()
Get the permission to change: the string value (not the constant name) of a space permission, for example a value fromcom.atlassian.confluence.it.Permission#getValue()
boolean
shouldGrant()
Whether to grant or revoke the permission.
-
-
-
Constructor Detail
-
PermissionChange
protected PermissionChange()
-
PermissionChange
protected PermissionChange(PermissionChange.Builder builder)
-
-
Method Detail
-
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 fromcom.atlassian.confluence.it.Permission#getValue()
-
builder
public static PermissionChange.Builder builder()
-
-