public class PermissionCheckBuilder extends Object
Modifier and Type | Field and Description |
---|---|
protected List<PermissionCheck> |
atomicChecks |
protected List<CompositePermissionCheck> |
compositeChecks |
protected boolean |
disjunctive |
protected PermissionCheckBuilder |
parent |
Constructor and Description |
---|
PermissionCheckBuilder() |
PermissionCheckBuilder(PermissionCheckBuilder parent) |
Modifier and Type | Method and Description |
---|---|
PermissionCheckBuilder |
atomicCheck(Resource resource,
String queryParam,
Permission permission) |
CompositePermissionCheck |
build() |
PermissionCheckBuilder |
composite() |
PermissionCheckBuilder |
conjunctive() |
PermissionCheckBuilder |
disjunctive() |
PermissionCheckBuilder |
done() |
protected void |
validate() |
protected List<PermissionCheck> atomicChecks
protected List<CompositePermissionCheck> compositeChecks
protected boolean disjunctive
protected PermissionCheckBuilder parent
public PermissionCheckBuilder()
public PermissionCheckBuilder(PermissionCheckBuilder parent)
public PermissionCheckBuilder disjunctive()
public PermissionCheckBuilder conjunctive()
public PermissionCheckBuilder atomicCheck(Resource resource, String queryParam, Permission permission)
public PermissionCheckBuilder composite()
public PermissionCheckBuilder done()
public CompositePermissionCheck build()
protected void validate()
Copyright © 2018. All rights reserved.