org.optaplanner.core.api.score.constraint.primint
public class IntConstraintMatch extends ConstraintMatch
Modifier and Type | Field and Description |
---|---|
protected IntConstraintMatchTotal |
constraintMatchTotal |
protected int |
weight |
justificationList
Constructor and Description |
---|
IntConstraintMatch(IntConstraintMatchTotal constraintMatchTotal,
List<Object> justificationList,
int weight) |
Modifier and Type | Method and Description |
---|---|
IntConstraintMatchTotal |
getConstraintMatchTotal() |
int |
getWeight() |
Number |
getWeightAsNumber() |
compareTo, getJustificationList, toString
protected final IntConstraintMatchTotal constraintMatchTotal
protected final int weight
public IntConstraintMatch(IntConstraintMatchTotal constraintMatchTotal, List<Object> justificationList, int weight)
public IntConstraintMatchTotal getConstraintMatchTotal()
getConstraintMatchTotal
in class ConstraintMatch
public int getWeight()
public Number getWeightAsNumber()
getWeightAsNumber
in class ConstraintMatch
Copyright © 2006-2013 JBoss by Red Hat. All Rights Reserved.