Class DefaultSingleConstraintVerification<Solution_>
- java.lang.Object
-
- org.optaplanner.test.impl.score.stream.DefaultSingleConstraintVerification<Solution_>
-
- All Implemented Interfaces:
SingleConstraintVerification<Solution_>
public final class DefaultSingleConstraintVerification<Solution_> extends Object implements SingleConstraintVerification<Solution_>
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
DefaultSingleConstraintVerification(ConstraintStreamScoreDirectorFactory<Solution_> scoreDirectorFactory)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DefaultSingleConstraintAssertion
given(Object... facts)
DefaultSingleConstraintAssertion
givenSolution(Solution_ solution)
-
-
-
Constructor Detail
-
DefaultSingleConstraintVerification
protected DefaultSingleConstraintVerification(ConstraintStreamScoreDirectorFactory<Solution_> scoreDirectorFactory)
-
-
Method Detail
-
given
public final DefaultSingleConstraintAssertion given(Object... facts)
- Specified by:
given
in interfaceSingleConstraintVerification<Solution_>
- Parameters:
facts
- never null, at least one- Returns:
- never null
-
givenSolution
public final DefaultSingleConstraintAssertion givenSolution(Solution_ solution)
- Specified by:
givenSolution
in interfaceSingleConstraintVerification<Solution_>
- Parameters:
solution
- never null- Returns:
- never null
-
-