org.optaplanner.core.api.score.constraint
Class ConstraintMatch
java.lang.Object
org.optaplanner.core.api.score.constraint.ConstraintMatch
- All Implemented Interfaces:
- Serializable, Comparable<ConstraintMatch>
- Direct Known Subclasses:
- BigDecimalConstraintMatch, DoubleConstraintMatch, IntConstraintMatch, LongConstraintMatch
public abstract class ConstraintMatch
- extends Object
- implements Serializable, Comparable<ConstraintMatch>
- See Also:
- Serialized Form
justificationList
protected final List<Object> justificationList
ConstraintMatch
protected ConstraintMatch(List<Object> justificationList)
getConstraintMatchTotal
public abstract ConstraintMatchTotal getConstraintMatchTotal()
getJustificationList
public List<Object> getJustificationList()
getWeightAsNumber
public abstract Number getWeightAsNumber()
compareTo
public int compareTo(ConstraintMatch other)
- Specified by:
compareTo
in interface Comparable<ConstraintMatch>
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 2006-2013 JBoss by Red Hat. All Rights Reserved.