Class DefaultMultiConstraintAssertion<Solution_>
- java.lang.Object
-
- org.optaplanner.test.impl.score.stream.DefaultMultiConstraintAssertion<Solution_>
-
- All Implemented Interfaces:
MultiConstraintAssertion
public final class DefaultMultiConstraintAssertion<Solution_> extends Object implements MultiConstraintAssertion
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
DefaultMultiConstraintAssertion(ConstraintProvider constraintProvider, Score<?> actualScore)
-
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)
-
-
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
-
-