public interface MapBasedFlowablePlanItemFutureJavaDelegate extends FlowablePlanItemFutureJavaDelegate<ReadOnlyDelegatePlanItemInstance,Map<String,Object>>
FlowablePlanItemFutureJavaDelegate which has a ReadOnlyDelegatePlanItemInstance as input and Map output data.
By default this will have a copy VariableScope.getVariables() as the input data
and will store all data from the output map as variables in the DelegatePlanItemInstance| Modifier and Type | Method and Description |
|---|---|
default void |
afterExecution(DelegatePlanItemInstance planItemInstance,
Map<String,Object> executionData)
Method invoked with the result from
FlowablePlanItemFutureJavaDelegate.execute(Object). |
default ReadOnlyDelegatePlanItemInstance |
prepareExecutionData(DelegatePlanItemInstance planItemInstance)
Method invoked before doing the execution to extract needed that from the planItemInstance
on the main thread.
|
execute, executedefault ReadOnlyDelegatePlanItemInstance prepareExecutionData(DelegatePlanItemInstance planItemInstance)
FlowablePlanItemFutureJavaDelegateprepareExecutionData in interface FlowablePlanItemFutureJavaDelegate<ReadOnlyDelegatePlanItemInstance,Map<String,Object>>planItemInstance - the planItemInstance from which to extract datadefault void afterExecution(DelegatePlanItemInstance planItemInstance, Map<String,Object> executionData)
FlowablePlanItemFutureJavaDelegateFlowablePlanItemFutureJavaDelegate.execute(Object).
This should be used to set data on the DelegatePlanItemInstance.
This is on the same thread as FlowablePlanItemFutureJavaDelegate.prepareExecutionData(DelegatePlanItemInstance) and participates in the case transaction.afterExecution in interface FlowablePlanItemFutureJavaDelegate<ReadOnlyDelegatePlanItemInstance,Map<String,Object>>afterExecution in interface PlanItemFutureJavaDelegate<Map<String,Object>>planItemInstance - the planItemInstance to which data can be setexecutionData - the execution dataCopyright © 2022 Flowable. All rights reserved.