public interface MapBasedFlowableFutureJavaDelegate extends FlowableFutureJavaDelegate<ReadOnlyDelegateExecution,Map<String,Object>>
FlowableFutureJavaDelegate which has a ReadOnlyDelegateExecution 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 DelegateExecution| Modifier and Type | Method and Description |
|---|---|
default void |
afterExecution(DelegateExecution execution,
Map<String,Object> executionData)
Method invoked with the result from
FlowableFutureJavaDelegate.execute(Object). |
default ReadOnlyDelegateExecution |
prepareExecutionData(DelegateExecution execution)
Method invoked before doing the execution to extract needed that from the execution
on the main thread.
|
execute, executedefault ReadOnlyDelegateExecution prepareExecutionData(DelegateExecution execution)
FlowableFutureJavaDelegateprepareExecutionData in interface FlowableFutureJavaDelegate<ReadOnlyDelegateExecution,Map<String,Object>>execution - the execution from which to extract datadefault void afterExecution(DelegateExecution execution, Map<String,Object> executionData)
FlowableFutureJavaDelegateFlowableFutureJavaDelegate.execute(Object).
This should be used to set data on the DelegateExecution.
This is on the same thread as FlowableFutureJavaDelegate.prepareExecutionData(DelegateExecution) and participates in the process transaction.afterExecution in interface FlowableFutureJavaDelegate<ReadOnlyDelegateExecution,Map<String,Object>>afterExecution in interface FutureJavaDelegate<Map<String,Object>>execution - the execution to which data can be setexecutionData - the execution dataCopyright © 2020 Flowable. All rights reserved.