public abstract class AbstractCollectNumberHitPolicyHandler extends Object implements DmnHitPolicyHandler
Modifier and Type | Field and Description |
---|---|
static DmnHitPolicyLogger |
LOG |
Constructor and Description |
---|
AbstractCollectNumberHitPolicyHandler() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getHitPolicyEntry
public static final DmnHitPolicyLogger LOG
public AbstractCollectNumberHitPolicyHandler()
protected abstract BuiltinAggregator getAggregator()
public DmnDecisionTableEvaluationEvent apply(DmnDecisionTableEvaluationEvent decisionTableEvaluationEvent)
DmnHitPolicyHandler
apply
in interface DmnHitPolicyHandler
decisionTableEvaluationEvent
- the evaluation event of the decision tableprotected String getResultName(DmnDecisionTableEvaluationEvent decisionTableEvaluationEvent)
protected TypedValue getResultValue(DmnDecisionTableEvaluationEvent decisionTableEvaluationEvent)
protected List<TypedValue> collectSingleValues(DmnDecisionTableEvaluationEvent decisionTableEvaluationEvent)
protected TypedValue aggregateValues(List<TypedValue> values)
protected TypedValue aggregateNumberValues(List<TypedValue> values)
protected List<Integer> convertValuesToInteger(List<TypedValue> typedValues) throws IllegalArgumentException
IllegalArgumentException
protected List<Long> convertValuesToLong(List<TypedValue> typedValues) throws IllegalArgumentException
IllegalArgumentException
protected List<Double> convertValuesToDouble(List<TypedValue> typedValues) throws IllegalArgumentException
IllegalArgumentException
Copyright © 2021. All rights reserved.