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