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, waitgetHitPolicyEntrypublic static final DmnHitPolicyLogger LOG
public AbstractCollectNumberHitPolicyHandler()
protected abstract BuiltinAggregator getAggregator()
public DmnDecisionTableEvaluationEvent apply(DmnDecisionTableEvaluationEvent decisionTableEvaluationEvent)
DmnHitPolicyHandlerapply in interface DmnHitPolicyHandlerdecisionTableEvaluationEvent - 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
IllegalArgumentExceptionprotected List<Long> convertValuesToLong(List<TypedValue> typedValues) throws IllegalArgumentException
IllegalArgumentExceptionprotected List<Double> convertValuesToDouble(List<TypedValue> typedValues) throws IllegalArgumentException
IllegalArgumentExceptionCopyright © 2021. All rights reserved.