Class DefaultMultiConstraintAssertion<Solution_,Score_ extends org.optaplanner.core.api.score.Score<Score_>>
- java.lang.Object
-
- org.optaplanner.test.impl.score.stream.DefaultMultiConstraintAssertion<Solution_,Score_>
-
- All Implemented Interfaces:
MultiConstraintAssertion
public final class DefaultMultiConstraintAssertion<Solution_,Score_ extends org.optaplanner.core.api.score.Score<Score_>> extends Object implements MultiConstraintAssertion
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedDefaultMultiConstraintAssertion(org.optaplanner.core.api.score.stream.ConstraintProvider constraintProvider, Score_ actualScore, Map<String,org.optaplanner.core.api.score.constraint.ConstraintMatchTotal<Score_>> constraintMatchTotalMap, Map<Object,org.optaplanner.core.api.score.constraint.Indictment<Score_>> indictmentMap)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidscores(org.optaplanner.core.api.score.Score<?> score, String message)As defined byMultiConstraintAssertion.scores(Score).-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.optaplanner.test.api.score.stream.MultiConstraintAssertion
scores
-
-
-
-
Constructor Detail
-
DefaultMultiConstraintAssertion
protected DefaultMultiConstraintAssertion(org.optaplanner.core.api.score.stream.ConstraintProvider constraintProvider, Score_ actualScore, Map<String,org.optaplanner.core.api.score.constraint.ConstraintMatchTotal<Score_>> constraintMatchTotalMap, Map<Object,org.optaplanner.core.api.score.constraint.Indictment<Score_>> indictmentMap)
-
-
Method Detail
-
scores
public final void scores(org.optaplanner.core.api.score.Score<?> score, String message)Description copied from interface:MultiConstraintAssertionAs defined byMultiConstraintAssertion.scores(Score).- Specified by:
scoresin interfaceMultiConstraintAssertion- Parameters:
score- total score calculated for the given set of factsmessage- sometimes null, description of the scenario being asserted
-
-