public interface PlanItemVariableAggregator
| Modifier and Type | Method and Description |
|---|---|
Object |
aggregateMultiVariables(DelegatePlanItemInstance planItemInstance,
List<? extends VariableInstance> instances,
PlanItemVariableAggregatorContext context)
Aggregated the provided variable instances into one variable value.
|
Object |
aggregateSingleVariable(DelegatePlanItemInstance planItemInstance,
PlanItemVariableAggregatorContext context)
Create a single variable value based on the provided aggregation definition.
|
Object aggregateSingleVariable(DelegatePlanItemInstance planItemInstance, PlanItemVariableAggregatorContext context)
planItemInstance - the delegate planItemInstance from where we need to get data fromcontext - the aggregation contextObject aggregateMultiVariables(DelegatePlanItemInstance planItemInstance, List<? extends VariableInstance> instances, PlanItemVariableAggregatorContext context)
planItemInstance - the delegated planItemInstance for which we need to do the aggregationinstances - the variable values that should be aggregated (these variables are created based on the value from aggregateSingleVariable(DelegatePlanItemInstance, PlanItemVariableAggregatorContext))context - the aggregation contextCopyright © 2021 Flowable. All rights reserved.