org.camunda.bpm.dmn.engine.impl.hitpolicy
Class AbstractDmnHitPolicyNumberAggregator
java.lang.Object
org.camunda.bpm.dmn.engine.impl.hitpolicy.AbstractDmnHitPolicyNumberAggregator
- All Implemented Interfaces:
- DmnHitPolicyAggregator
- Direct Known Subclasses:
- CollectMaxAggregator, CollectMinAggregator, CollectSumAggregator
public abstract class AbstractDmnHitPolicyNumberAggregator
- extends Object
- implements DmnHitPolicyAggregator
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LOG
public static final DmnHitPolicyLogger LOG
AbstractDmnHitPolicyNumberAggregator
public AbstractDmnHitPolicyNumberAggregator()
aggregate
public Number aggregate(List<Object> outputValues)
- Description copied from interface:
DmnHitPolicyAggregator
- Aggregates the decision output to the decision result.
- Specified by:
aggregate in interface DmnHitPolicyAggregator
- Parameters:
outputValues - the values of the decision outputs
- Returns:
- the aggregated result value
aggregateNumberValues
protected Number aggregateNumberValues(List<Object> values)
aggregateIntegerValues
protected abstract Number aggregateIntegerValues(List<Integer> intValues)
aggregateLongValues
protected abstract Number aggregateLongValues(List<Long> longValues)
aggregateDoubleValues
protected abstract Number aggregateDoubleValues(List<Double> doubleValues)
convertValuesToInteger
protected List<Integer> convertValuesToInteger(List<Object> values)
convertValuesToLong
protected List<Long> convertValuesToLong(List<Object> values)
convertValuesToDouble
protected List<Double> convertValuesToDouble(List<Object> values)
Copyright © 2015 camunda services GmbH. All rights reserved.