public abstract class AbstractCollectNumberHitPolicyHandler extends Object implements DmnHitPolicyHandler
Modifier and Type | Field and Description |
---|---|
static DmnHitPolicyLogger |
LOG |
Constructor and Description |
---|
AbstractCollectNumberHitPolicyHandler() |
Modifier and Type | Method and Description |
---|---|
protected abstract Double |
aggregateDoubleValues(List<Double> doubleValues) |
protected abstract Integer |
aggregateIntegerValues(List<Integer> intValues) |
protected abstract Long |
aggregateLongValues(List<Long> longValues) |
protected org.camunda.bpm.engine.variable.value.TypedValue |
aggregateNumberValues(List<org.camunda.bpm.engine.variable.value.TypedValue> values) |
protected org.camunda.bpm.engine.variable.value.TypedValue |
aggregateValues(List<org.camunda.bpm.engine.variable.value.TypedValue> values) |
DmnDecisionTableEvaluationEvent |
apply(DmnDecisionTableEvaluationEvent decisionTableEvaluationEvent)
Applies hit policy.
|
protected List<org.camunda.bpm.engine.variable.value.TypedValue> |
collectSingleValues(DmnDecisionTableEvaluationEvent decisionTableEvaluationEvent) |
protected List<Double> |
convertValuesToDouble(List<org.camunda.bpm.engine.variable.value.TypedValue> typedValues) |
protected List<Integer> |
convertValuesToInteger(List<org.camunda.bpm.engine.variable.value.TypedValue> typedValues) |
protected List<Long> |
convertValuesToLong(List<org.camunda.bpm.engine.variable.value.TypedValue> typedValues) |
protected abstract BuiltinAggregator |
getAggregator() |
protected String |
getResultName(DmnDecisionTableEvaluationEvent decisionTableEvaluationEvent) |
protected org.camunda.bpm.engine.variable.value.TypedValue |
getResultValue(DmnDecisionTableEvaluationEvent decisionTableEvaluationEvent) |
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 org.camunda.bpm.engine.variable.value.TypedValue getResultValue(DmnDecisionTableEvaluationEvent decisionTableEvaluationEvent)
protected List<org.camunda.bpm.engine.variable.value.TypedValue> collectSingleValues(DmnDecisionTableEvaluationEvent decisionTableEvaluationEvent)
protected org.camunda.bpm.engine.variable.value.TypedValue aggregateValues(List<org.camunda.bpm.engine.variable.value.TypedValue> values)
protected org.camunda.bpm.engine.variable.value.TypedValue aggregateNumberValues(List<org.camunda.bpm.engine.variable.value.TypedValue> values)
protected List<Integer> convertValuesToInteger(List<org.camunda.bpm.engine.variable.value.TypedValue> typedValues) throws IllegalArgumentException
IllegalArgumentException
protected List<Long> convertValuesToLong(List<org.camunda.bpm.engine.variable.value.TypedValue> typedValues) throws IllegalArgumentException
IllegalArgumentException
protected List<Double> convertValuesToDouble(List<org.camunda.bpm.engine.variable.value.TypedValue> typedValues) throws IllegalArgumentException
IllegalArgumentException
Copyright © 2017. All rights reserved.