public class HitPolicyCollect extends AbstractHitPolicy implements ComposeDecisionResultBehavior
multipleResults| Constructor and Description |
|---|
HitPolicyCollect() |
| Modifier and Type | Method and Description |
|---|---|
protected Double |
aggregateCount(List<Double> values) |
protected Double |
aggregateMax(List<Double> values) |
protected Double |
aggregateMin(List<Double> values) |
protected Double |
aggregateSum(List<Double> values) |
void |
composeDecisionResults(ELExecutionContext executionContext)
Default behavior for ComposeRuleOutput behavior
|
protected 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) |
String |
getHitPolicyName()
Returns the name for the specific Hit Policy behavior
|
composeRuleResult, shouldContinueEvaluatingpublic String getHitPolicyName()
AbstractHitPolicygetHitPolicyName in class AbstractHitPolicypublic void composeDecisionResults(ELExecutionContext executionContext)
AbstractHitPolicycomposeDecisionResults in interface ComposeDecisionResultBehaviorcomposeDecisionResults in class AbstractHitPolicyprotected Map.Entry<String,List<Double>> composeOutputValues(ELExecutionContext executionContext)
protected Map.Entry<String,List<Double>> createOutputDoubleValues(Collection<Map<String,Object>> ruleResults)
Copyright © 2021 Flowable. All rights reserved.