Class DefaultMultiConstraintVerification<Solution_>
- java.lang.Object
-
- org.optaplanner.test.impl.score.stream.DefaultMultiConstraintVerification<Solution_>
-
- All Implemented Interfaces:
MultiConstraintVerification<Solution_>
public final class DefaultMultiConstraintVerification<Solution_> extends Object implements MultiConstraintVerification<Solution_>
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
DefaultMultiConstraintVerification(ConstraintStreamScoreDirectorFactory<Solution_> scoreDirectorFactory, ConstraintProvider constraintProvider)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DefaultMultiConstraintAssertion
given(Object... facts)
As defined bySingleConstraintVerification.given(Object...)
.DefaultMultiConstraintAssertion
givenSolution(Solution_ solution)
As defined bySingleConstraintVerification.givenSolution(Object)
.
-
-
-
Constructor Detail
-
DefaultMultiConstraintVerification
protected DefaultMultiConstraintVerification(ConstraintStreamScoreDirectorFactory<Solution_> scoreDirectorFactory, ConstraintProvider constraintProvider)
-
-
Method Detail
-
given
public final DefaultMultiConstraintAssertion given(Object... facts)
Description copied from interface:MultiConstraintVerification
As defined bySingleConstraintVerification.given(Object...)
.- Specified by:
given
in interfaceMultiConstraintVerification<Solution_>
- Parameters:
facts
- never null, at least one- Returns:
- never null
-
givenSolution
public final DefaultMultiConstraintAssertion givenSolution(Solution_ solution)
Description copied from interface:MultiConstraintVerification
As defined bySingleConstraintVerification.givenSolution(Object)
.- Specified by:
givenSolution
in interfaceMultiConstraintVerification<Solution_>
- Parameters:
solution
- never null- Returns:
- never null
-
-