Class DefaultConstraintJustification
java.lang.Object
org.optaplanner.core.api.score.stream.DefaultConstraintJustification
- All Implemented Interfaces:
Comparable<DefaultConstraintJustification>
,ConstraintJustification
public final class DefaultConstraintJustification
extends Object
implements ConstraintJustification, Comparable<DefaultConstraintJustification>
Default implementation of
ConstraintJustification
, returned by ConstraintMatch.getJustification()
unless the user defined a custom justification mapping.-
Method Details
-
of
-
of
-
of
public static DefaultConstraintJustification of(Score<?> impact, Object factA, Object factB, Object factC) -
of
-
of
-
of
-
getImpact
-
getFacts
-
toString
-
compareTo
- Specified by:
compareTo
in interfaceComparable<DefaultConstraintJustification>
-