Class PermissionChange.Builder<T extends PermissionChange.Builder>
- java.lang.Object
-
- com.atlassian.confluence.functest.rest.admin.model.PermissionChange.Builder<T>
-
- Direct Known Subclasses:
SubjectPermissionChange.Builder
- Enclosing class:
- PermissionChange
public static class PermissionChange.Builder<T extends PermissionChange.Builder> extends Object
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PermissionChange
build()
T
grant(boolean grant)
T
permission(String permission)
-
-
-
Method Detail
-
permission
public T permission(String permission)
- Parameters:
permission
- the string value (not the constant name) of a space permission, for example a value fromcom.atlassian.confluence.it.Permission#getValue()
-
grant
public T grant(boolean grant)
- Parameters:
grant
- whether to grant or revoke the permission.
-
build
public PermissionChange build()
-
-