Class AbstractCollectNumberHitPolicyHandler
- java.lang.Object
- 
- org.camunda.bpm.dmn.engine.impl.hitpolicy.AbstractCollectNumberHitPolicyHandler
 
- 
- All Implemented Interfaces:
- DmnHitPolicyHandler
 - Direct Known Subclasses:
- CollectCountHitPolicyHandler,- CollectMaxHitPolicyHandler,- CollectMinHitPolicyHandler,- CollectSumHitPolicyHandler
 
 public abstract class AbstractCollectNumberHitPolicyHandler extends Object implements DmnHitPolicyHandler 
- 
- 
Field SummaryFields Modifier and Type Field Description static DmnHitPolicyLoggerLOG
 - 
Constructor SummaryConstructors Constructor Description AbstractCollectNumberHitPolicyHandler()
 - 
Method Summary- 
Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 - 
Methods inherited from interface org.camunda.bpm.dmn.engine.impl.spi.hitpolicy.DmnHitPolicyHandlergetHitPolicyEntry
 
- 
 
- 
- 
- 
Field Detail- 
LOGpublic static final DmnHitPolicyLogger LOG 
 
- 
 - 
Method Detail- 
getAggregatorprotected abstract BuiltinAggregator getAggregator() 
 - 
applypublic DmnDecisionTableEvaluationEvent apply(DmnDecisionTableEvaluationEvent decisionTableEvaluationEvent) Description copied from interface:DmnHitPolicyHandlerApplies hit policy. Depending on the hit policy this can mean filtering and sorting of matching rules or aggregating results.- Specified by:
- applyin interface- DmnHitPolicyHandler
- Parameters:
- decisionTableEvaluationEvent- the evaluation event of the decision table
- Returns:
- the final evaluation result
 
 - 
getResultNameprotected String getResultName(DmnDecisionTableEvaluationEvent decisionTableEvaluationEvent) 
 - 
getResultValueprotected TypedValue getResultValue(DmnDecisionTableEvaluationEvent decisionTableEvaluationEvent) 
 - 
collectSingleValuesprotected List<TypedValue> collectSingleValues(DmnDecisionTableEvaluationEvent decisionTableEvaluationEvent) 
 - 
aggregateValuesprotected TypedValue aggregateValues(List<TypedValue> values) 
 - 
aggregateNumberValuesprotected TypedValue aggregateNumberValues(List<TypedValue> values) 
 - 
convertValuesToIntegerprotected List<Integer> convertValuesToInteger(List<TypedValue> typedValues) throws IllegalArgumentException - Throws:
- IllegalArgumentException
 
 - 
convertValuesToLongprotected List<Long> convertValuesToLong(List<TypedValue> typedValues) throws IllegalArgumentException - Throws:
- IllegalArgumentException
 
 - 
convertValuesToDoubleprotected List<Double> convertValuesToDouble(List<TypedValue> typedValues) throws IllegalArgumentException - Throws:
- IllegalArgumentException
 
 
- 
 
-