Class DefaultMultiConstraintAssertion<Solution_,Score_ extends 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 Score<Score_>> extends Object implements MultiConstraintAssertion
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
DefaultMultiConstraintAssertion(ConstraintProvider constraintProvider, Score_ actualScore, Map<String,ConstraintMatchTotal<Score_>> constraintMatchTotalMap, Map<Object,Indictment<Score_>> indictmentMap)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
scores(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(ConstraintProvider constraintProvider, Score_ actualScore, Map<String,ConstraintMatchTotal<Score_>> constraintMatchTotalMap, Map<Object,Indictment<Score_>> indictmentMap)
-
-
Method Detail
-
scores
public final void scores(Score<?> score, String message)
Description copied from interface:MultiConstraintAssertion
As defined byMultiConstraintAssertion.scores(Score)
.- Specified by:
scores
in interfaceMultiConstraintAssertion
- Parameters:
score
- total score calculated for the given set of factsmessage
- sometimes null, description of the scenario being asserted
-
-