Package org.camunda.bpm.engine.delegate
Interface DelegateVariableMapping
public interface DelegateVariableMapping
Represents a delegated mapping of input and output variables.
- Author:
- Christopher Zell <christopher.zell@camunda.com>
-
Method Summary
Modifier and TypeMethodDescriptionvoid
mapInputVariables
(DelegateExecution superExecution, VariableMap subVariables) Maps the input variables into the given variables map.void
mapOutputVariables
(DelegateExecution superExecution, VariableScope subInstance) Maps the output variables into the outer process.
-
Method Details
-
mapInputVariables
Maps the input variables into the given variables map. The variables map will be used by the sub process.- Parameters:
superExecution
- the execution object of the super (outer) processsubVariables
- the variables map of the sub (inner) process
-
mapOutputVariables
Maps the output variables into the outer process. This means the variables of the sub process, which can be accessed via the subInstance, will be set as variables into the super process, for example via ${superExecution.setVariables}.- Parameters:
superExecution
- the execution object of the super (outer) process, which gets the output variablessubInstance
- the instance of the sub process, which contains the variables
-