Class CollectSumHitPolicyHandler
- java.lang.Object
-
- org.camunda.bpm.dmn.engine.impl.hitpolicy.AbstractCollectNumberHitPolicyHandler
-
- org.camunda.bpm.dmn.engine.impl.hitpolicy.CollectSumHitPolicyHandler
-
- All Implemented Interfaces:
DmnHitPolicyHandler
public class CollectSumHitPolicyHandler extends AbstractCollectNumberHitPolicyHandler
-
-
Field Summary
Fields Modifier and Type Field Description protected static HitPolicyEntry
HIT_POLICY
-
Fields inherited from class org.camunda.bpm.dmn.engine.impl.hitpolicy.AbstractCollectNumberHitPolicyHandler
LOG
-
-
Constructor Summary
Constructors Constructor Description CollectSumHitPolicyHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected Double
aggregateDoubleValues(List<Double> doubleValues)
protected Integer
aggregateIntegerValues(List<Integer> intValues)
protected Long
aggregateLongValues(List<Long> longValues)
protected BuiltinAggregator
getAggregator()
HitPolicyEntry
getHitPolicyEntry()
String
toString()
-
Methods inherited from class org.camunda.bpm.dmn.engine.impl.hitpolicy.AbstractCollectNumberHitPolicyHandler
aggregateNumberValues, aggregateValues, apply, collectSingleValues, convertValuesToDouble, convertValuesToInteger, convertValuesToLong, getResultName, getResultValue
-
-
-
-
Field Detail
-
HIT_POLICY
protected static final HitPolicyEntry HIT_POLICY
-
-
Method Detail
-
getHitPolicyEntry
public HitPolicyEntry getHitPolicyEntry()
- Returns:
- the implemented hit policy and aggregator
-
getAggregator
protected BuiltinAggregator getAggregator()
- Specified by:
getAggregator
in classAbstractCollectNumberHitPolicyHandler
-
aggregateIntegerValues
protected Integer aggregateIntegerValues(List<Integer> intValues)
- Specified by:
aggregateIntegerValues
in classAbstractCollectNumberHitPolicyHandler
-
aggregateLongValues
protected Long aggregateLongValues(List<Long> longValues)
- Specified by:
aggregateLongValues
in classAbstractCollectNumberHitPolicyHandler
-
aggregateDoubleValues
protected Double aggregateDoubleValues(List<Double> doubleValues)
- Specified by:
aggregateDoubleValues
in classAbstractCollectNumberHitPolicyHandler
-
-