Class ConstraintBuilder.Constraint1Builder
- java.lang.Object
-
- de.rwth.swc.coffee4j.engine.configuration.model.constraints.ConstraintBuilder.Constraint1Builder
-
- Enclosing class:
- ConstraintBuilder
public static final class ConstraintBuilder.Constraint1Builder extends Object
Builder for giving a constraint on one parameter the correspondingBooleanFunction1
.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MethodBasedConstraint
by(BooleanFunction1<?> constraint)
Specified theConstraintFunction
as aBooleanFunction1
for the given parameter.ConstraintBuilder.Constraint1Builder
withName(String name)
-
-
-
Method Detail
-
withName
public ConstraintBuilder.Constraint1Builder withName(String name)
-
by
public MethodBasedConstraint by(BooleanFunction1<?> constraint)
Specified theConstraintFunction
as aBooleanFunction1
for the given parameter.- Parameters:
constraint
- the constraint function on the parameter- Returns:
- a constraint with the given parameter and constraint function
-
-