public static class PermissionChange.Builder<T extends PermissionChange.Builder> extends Object
Modifier | Constructor and Description |
---|---|
protected |
Builder() |
Modifier and Type | Method and Description |
---|---|
PermissionChange |
build() |
T |
grant(boolean grant) |
T |
permission(String permission) |
public T permission(String permission)
permission
- the string value (not the constant name) of a space permission,
for example a value from com.atlassian.confluence.it.Permission#getValue()
public T grant(boolean grant)
grant
- whether to grant or revoke the permission.public PermissionChange build()
Copyright © 2003–2020 Atlassian. All rights reserved.