@ParametersAreNonnullByDefault public class PermissionChange extends Object
PermissionsResource
,
representing a grant or revoke of a single permission.SubjectPermissionChange
,
PermissionsResource
Modifier and Type | Class and Description |
---|---|
static class |
PermissionChange.Builder<T extends PermissionChange.Builder> |
Modifier | Constructor and Description |
---|---|
protected |
PermissionChange() |
protected |
PermissionChange(PermissionChange.Builder builder) |
Modifier and Type | Method and 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 from
com.atlassian.confluence.it.Permission#getValue() |
boolean |
shouldGrant()
Whether to grant or revoke the permission.
|
protected PermissionChange()
protected PermissionChange(PermissionChange.Builder builder)
public boolean shouldGrant()
public String getPermission()
com.atlassian.confluence.it.Permission#getValue()
public static PermissionChange.Builder builder()
Copyright © 2003–2020 Atlassian. All rights reserved.