public class IntConstraintMatchTotal extends ConstraintMatchTotal
Modifier and Type | Field and Description |
---|---|
protected Set<IntConstraintMatch> |
constraintMatchSet |
protected int |
weightTotal |
constraintName, constraintPackage, scoreLevel
Constructor and Description |
---|
IntConstraintMatchTotal(String constraintPackage,
String constraintName,
int scoreLevel) |
Modifier and Type | Method and Description |
---|---|
IntConstraintMatch |
addConstraintMatch(List<Object> justificationList,
int weight) |
IntConstraintMatch |
addConstraintMatch(org.kie.api.runtime.rule.RuleContext kcontext,
int weight) |
Set<IntConstraintMatch> |
getConstraintMatchSet() |
int |
getWeightTotal() |
Number |
getWeightTotalAsNumber() |
void |
removeConstraintMatch(IntConstraintMatch constraintMatch) |
compareTo, extractJustificationList, getConstraintId, getConstraintMatchCount, getConstraintName, getConstraintPackage, getIdentificationString, getScoreLevel, toString
protected final Set<IntConstraintMatch> constraintMatchSet
protected int weightTotal
public Set<IntConstraintMatch> getConstraintMatchSet()
getConstraintMatchSet
in class ConstraintMatchTotal
public int getWeightTotal()
public Number getWeightTotalAsNumber()
getWeightTotalAsNumber
in class ConstraintMatchTotal
public IntConstraintMatch addConstraintMatch(org.kie.api.runtime.rule.RuleContext kcontext, int weight)
public IntConstraintMatch addConstraintMatch(List<Object> justificationList, int weight)
public void removeConstraintMatch(IntConstraintMatch constraintMatch)
Copyright © 2006–2016 JBoss by Red Hat. All rights reserved.