Class DefaultMultiConstraintVerification<Solution_,Score_ extends Score<Score_>>
- java.lang.Object
-
- org.optaplanner.test.impl.score.stream.DefaultMultiConstraintVerification<Solution_,Score_>
-
- All Implemented Interfaces:
MultiConstraintVerification<Solution_>
public final class DefaultMultiConstraintVerification<Solution_,Score_ extends Score<Score_>> extends Object implements MultiConstraintVerification<Solution_>
-
-
Field Summary
Fields Modifier and Type Field Description protected org.slf4j.LoggerLOGGERprotected org.optaplanner.constraint.streams.common.AbstractConstraintStreamScoreDirectorFactory<Solution_,Score_>scoreDirectorFactoryprotected org.optaplanner.test.impl.score.stream.SessionBasedAssertionBuilder<Solution_,Score_>sessionBasedAssertionBuilder
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidassertCorrectArguments(Object... facts)DefaultMultiConstraintAssertion<Score_>given(Object... facts)As defined bySingleConstraintVerification.given(Object...).DefaultMultiConstraintAssertion<Score_>givenSolution(Solution_ solution)As defined bySingleConstraintVerification.givenSolution(Object).
-
-
-
Field Detail
-
LOGGER
protected final org.slf4j.Logger LOGGER
-
scoreDirectorFactory
protected final org.optaplanner.constraint.streams.common.AbstractConstraintStreamScoreDirectorFactory<Solution_,Score_ extends Score<Score_>> scoreDirectorFactory
-
sessionBasedAssertionBuilder
protected final org.optaplanner.test.impl.score.stream.SessionBasedAssertionBuilder<Solution_,Score_ extends Score<Score_>> sessionBasedAssertionBuilder
-
-
Method Detail
-
given
public DefaultMultiConstraintAssertion<Score_> given(Object... facts)
Description copied from interface:MultiConstraintVerificationAs defined bySingleConstraintVerification.given(Object...).- Specified by:
givenin interfaceMultiConstraintVerification<Solution_>- Parameters:
facts- never null, at least one- Returns:
- never null
-
givenSolution
public DefaultMultiConstraintAssertion<Score_> givenSolution(Solution_ solution)
Description copied from interface:MultiConstraintVerificationAs defined bySingleConstraintVerification.givenSolution(Object).- Specified by:
givenSolutionin interfaceMultiConstraintVerification<Solution_>- Parameters:
solution- never null- Returns:
- never null
-
assertCorrectArguments
protected void assertCorrectArguments(Object... facts)
-
-