Class HitPolicyCollect
- java.lang.Object
-
- org.flowable.dmn.engine.impl.hitpolicy.AbstractHitPolicy
-
- org.flowable.dmn.engine.impl.hitpolicy.HitPolicyCollect
-
- All Implemented Interfaces:
ComposeDecisionResultBehavior,ComposeRuleResultBehavior,ContinueEvaluatingBehavior
public class HitPolicyCollect extends AbstractHitPolicy implements ComposeDecisionResultBehavior
- Author:
- Yvo Swillens, martin.grofcik
-
-
Field Summary
-
Fields inherited from class org.flowable.dmn.engine.impl.hitpolicy.AbstractHitPolicy
multipleResults
-
-
Constructor Summary
Constructors Constructor Description HitPolicyCollect()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected DoubleaggregateCount(List<Double> values)protected DoubleaggregateMax(List<Double> values)protected DoubleaggregateMin(List<Double> values)protected DoubleaggregateSum(List<Double> values)voidcomposeDecisionResults(ELExecutionContext executionContext)Default behavior for ComposeRuleOutput behaviorprotected Map.Entry<String,List<Double>>composeOutputValues(ELExecutionContext executionContext)protected Map<String,Object>createDecisionResults(String outputName, Double outputValue)protected Map.Entry<String,List<Double>>createOutputDoubleValues(Collection<Map<String,Object>> ruleResults)StringgetHitPolicyName()Returns the name for the specific Hit Policy behaviorprotected booleanisMultipleResults(BuiltinAggregator aggregator)-
Methods inherited from class org.flowable.dmn.engine.impl.hitpolicy.AbstractHitPolicy
composeRuleResult, shouldContinueEvaluating, updateStackWithDecisionResults
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.flowable.dmn.engine.impl.hitpolicy.ComposeDecisionResultBehavior
updateStackWithDecisionResults
-
-
-
-
Method Detail
-
getHitPolicyName
public String getHitPolicyName()
Description copied from class:AbstractHitPolicyReturns the name for the specific Hit Policy behavior- Specified by:
getHitPolicyNamein classAbstractHitPolicy
-
composeDecisionResults
public void composeDecisionResults(ELExecutionContext executionContext)
Description copied from class:AbstractHitPolicyDefault behavior for ComposeRuleOutput behavior- Specified by:
composeDecisionResultsin interfaceComposeDecisionResultBehavior- Overrides:
composeDecisionResultsin classAbstractHitPolicy
-
isMultipleResults
protected boolean isMultipleResults(BuiltinAggregator aggregator)
-
composeOutputValues
protected Map.Entry<String,List<Double>> composeOutputValues(ELExecutionContext executionContext)
-
createOutputDoubleValues
protected Map.Entry<String,List<Double>> createOutputDoubleValues(Collection<Map<String,Object>> ruleResults)
-
-