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