public final class ConstraintBuilder extends Object
BooleanFunction1 (with the corresponding
number at the end) is required as a constraint function.| Modifier and Type | Class and Description |
|---|---|
static class |
ConstraintBuilder.Constraint1Builder
Builder for giving a constraint on one parameter the corresponding
BooleanFunction1. |
static class |
ConstraintBuilder.Constraint2Builder
Builder for giving a constraint on two parameters the corresponding
BooleanFunction2. |
static class |
ConstraintBuilder.Constraint3Builder
Builder for giving a constraint on three parameters the corresponding
BooleanFunction3. |
static class |
ConstraintBuilder.Constraint4Builder
Builder for giving a constraint on four parameters the corresponding
BooleanFunction4. |
static class |
ConstraintBuilder.Constraint5Builder
Builder for giving a constraint on five parameters the corresponding
BooleanFunction5. |
static class |
ConstraintBuilder.Constraint6Builder
Builder for giving a constraint on six parameters the corresponding
BooleanFunction6. |
| Modifier and Type | Method and Description |
|---|---|
static ConstraintBuilder.Constraint1Builder |
constrain(String firstParameter)
Starts the build process for a constraint on one parameter.
|
static ConstraintBuilder.Constraint2Builder |
constrain(String firstParameter,
String secondParameter)
Starts the build process for a constraint on two parameters.
|
static ConstraintBuilder.Constraint3Builder |
constrain(String firstParameter,
String secondParameter,
String thirdParameter)
Starts the build process for a constraint on three parameters.
|
static ConstraintBuilder.Constraint4Builder |
constrain(String firstParameter,
String secondParameter,
String thirdParameter,
String fourthParameter)
Starts the build process for a constraint on four parameters.
|
static ConstraintBuilder.Constraint5Builder |
constrain(String firstParameter,
String secondParameter,
String thirdParameter,
String fourthParameter,
String fifthParameter)
Starts the build process for a constraint on five parameters.
|
static ConstraintBuilder.Constraint6Builder |
constrain(String firstParameter,
String secondParameter,
String thirdParameter,
String fourthParameter,
String fifthParameter,
String sixthParameter)
Starts the build process for a constraint on sic parameters.
|
public static ConstraintBuilder.Constraint1Builder constrain(String firstParameter)
firstParameter - the name of the first parameter. Must not be nullConstraintFunctionpublic static ConstraintBuilder.Constraint2Builder constrain(String firstParameter, String secondParameter)
firstParameter - the name of the first parameter. Must not be nullsecondParameter - the name of the second parameter. Must not be nullConstraintFunctionpublic static ConstraintBuilder.Constraint3Builder constrain(String firstParameter, String secondParameter, String thirdParameter)
firstParameter - the name of the first parameter. Must not be nullsecondParameter - the name of the second parameter. Must not be nullthirdParameter - the name of the third parameter. Must not be nullConstraintFunctionpublic static ConstraintBuilder.Constraint4Builder constrain(String firstParameter, String secondParameter, String thirdParameter, String fourthParameter)
firstParameter - the name of the first parameter. Must not be nullsecondParameter - the name of the second parameter. Must not be nullthirdParameter - the name of the third parameter. Must not be nullfourthParameter - the name of the fourth parameter. Must not be nullConstraintFunctionpublic static ConstraintBuilder.Constraint5Builder constrain(String firstParameter, String secondParameter, String thirdParameter, String fourthParameter, String fifthParameter)
firstParameter - the name of the first parameter. Must not be nullsecondParameter - the name of the second parameter. Must not be nullthirdParameter - the name of the third parameter. Must not be nullfourthParameter - the name of the fourth parameter. Must not be nullfifthParameter - the name of the fifth parameter. Must not be nullConstraintFunctionpublic static ConstraintBuilder.Constraint6Builder constrain(String firstParameter, String secondParameter, String thirdParameter, String fourthParameter, String fifthParameter, String sixthParameter)
firstParameter - the name of the first parameter. Must not be nullsecondParameter - the name of the second parameter. Must not be nullthirdParameter - the name of the third parameter. Must not be nullfourthParameter - the name of the fourth parameter. Must not be nullfifthParameter - the name of the fifth parameter. Must not be nullsixthParameter - the name of the sixth parameter. Must not be nullConstraintFunctionCopyright © 2019. All rights reserved.