Interface Constraint
-
- All Known Implementing Classes:
AbstractConstraint,MethodBasedConstraint,TupleBasedConstraint
public interface Constraint
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classConstraint.ConstraintConstants
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleancheckIfValid(Combination combination)Checks whether the given combination is valid or not.ConstraintStatusgetConstraintStatus()ConstraintConverterFactorygetConverterFactory()StringgetName()List<String>getParameterNames()voidsetName(String name)
-
-
-
Method Detail
-
setName
void setName(String name)
- Parameters:
name- new name of the constraint.
-
getName
String getName()
- Returns:
- name of the constraint.
-
getConstraintStatus
ConstraintStatus getConstraintStatus()
- Returns:
- status of the constraint.
-
checkIfValid
boolean checkIfValid(Combination combination)
Checks whether the given combination is valid or not.- Parameters:
combination- combination to be checked.- Returns:
trueiff the combination is valid.
-
getConverterFactory
ConstraintConverterFactory getConverterFactory()
- Returns:
ConstraintConverterFactorythat can be used to convert this constraint.
-
-