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, toStringprotected final Set<IntConstraintMatch> constraintMatchSet
protected int weightTotal
public Set<IntConstraintMatch> getConstraintMatchSet()
getConstraintMatchSet in class ConstraintMatchTotalpublic int getWeightTotal()
public Number getWeightTotalAsNumber()
getWeightTotalAsNumber in class ConstraintMatchTotalpublic 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.