org.camunda.bpm.dmn.engine.impl.hitpolicy
Class CollectSumHitPolicyHandler

java.lang.Object
  extended by org.camunda.bpm.dmn.engine.impl.hitpolicy.AbstractCollectNumberHitPolicyHandler
      extended by org.camunda.bpm.dmn.engine.impl.hitpolicy.CollectSumHitPolicyHandler
All Implemented Interfaces:
DmnHitPolicyHandler

public class CollectSumHitPolicyHandler
extends AbstractCollectNumberHitPolicyHandler


Field Summary
protected static HitPolicyEntry HIT_POLICY
           
 
Fields inherited from class org.camunda.bpm.dmn.engine.impl.hitpolicy.AbstractCollectNumberHitPolicyHandler
LOG
 
Constructor Summary
CollectSumHitPolicyHandler()
           
 
Method Summary
protected  Double aggregateDoubleValues(List<Double> doubleValues)
           
protected  Integer aggregateIntegerValues(List<Integer> intValues)
           
protected  Long aggregateLongValues(List<Long> longValues)
           
protected  org.camunda.bpm.model.dmn.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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

HIT_POLICY

protected static final HitPolicyEntry HIT_POLICY
Constructor Detail

CollectSumHitPolicyHandler

public CollectSumHitPolicyHandler()
Method Detail

getHitPolicyEntry

public HitPolicyEntry getHitPolicyEntry()
Returns:
the implemented hit policy and aggregator

getAggregator

protected org.camunda.bpm.model.dmn.BuiltinAggregator getAggregator()
Specified by:
getAggregator in class AbstractCollectNumberHitPolicyHandler

aggregateIntegerValues

protected Integer aggregateIntegerValues(List<Integer> intValues)
Specified by:
aggregateIntegerValues in class AbstractCollectNumberHitPolicyHandler

aggregateLongValues

protected Long aggregateLongValues(List<Long> longValues)
Specified by:
aggregateLongValues in class AbstractCollectNumberHitPolicyHandler

aggregateDoubleValues

protected Double aggregateDoubleValues(List<Double> doubleValues)
Specified by:
aggregateDoubleValues in class AbstractCollectNumberHitPolicyHandler

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2017 camunda services GmbH. All rights reserved.