Package io.jmix.core
Class AccessManager.ConstraintsBuilder
java.lang.Object
io.jmix.core.AccessManager.ConstraintsBuilder
- Enclosing class:
- AccessManager
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionList<AccessConstraint<?>>
build()
<C extends AccessContext>
AccessManager.ConstraintsBuilderwithConstraint
(Class<C> contextClass, Consumer<C> constraintConsumer) withConstraintInstance
(AccessConstraint<?> constraint) withRegistered
(Class<?> accessConstraintClass)
-
Field Details
-
constraints
-
-
Constructor Details
-
ConstraintsBuilder
public ConstraintsBuilder()
-
-
Method Details
-
withAllRegistered
-
withRegistered
-
withConstraintInstance
-
withConstraint
public <C extends AccessContext> AccessManager.ConstraintsBuilder withConstraint(Class<C> contextClass, Consumer<C> constraintConsumer) -
build
-