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