public static class PermissionContext.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
PermissionContext |
build() |
PermissionContext.Builder |
copy(PermissionContext model) |
PermissionContext.Builder |
permission(Permission permission)
The permission context.
|
PermissionContext.Builder |
variables(List<ContextVariable> variables)
The set of variables in this permission context.
|
public PermissionContext.Builder permission(Permission permission)
The permission context.
permission
- the value to setpublic PermissionContext.Builder variables(List<ContextVariable> variables)
The set of variables in this permission context.
variables
- the value to setpublic PermissionContext build()
public PermissionContext.Builder copy(PermissionContext model)
Copyright © 2016–2024. All rights reserved.