Class ScopeInstantiationContext
- java.lang.Object
-
- org.camunda.bpm.engine.impl.pvm.runtime.ScopeInstantiationContext
-
public class ScopeInstantiationContext extends java.lang.Object
Keeps track of the execution state when a hierarchy of scopes is instantiated at once (e.g. during process instance modification or process instance migration). State is for example the scopes that need to be instantiated or the variables that need to be set after the scopes are created.- Author:
- Sebastian Menski
-
-
Field Summary
Fields Modifier and Type Field Description protected InstantiationStack
instantiationStack
protected java.util.Map<java.lang.String,java.lang.Object>
variables
protected java.util.Map<java.lang.String,java.lang.Object>
variablesLocal
-
Constructor Summary
Constructors Constructor Description ScopeInstantiationContext()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
applyVariables(CoreExecution execution)
InstantiationStack
getInstantiationStack()
void
setInstantiationStack(InstantiationStack instantiationStack)
void
setVariables(java.util.Map<java.lang.String,java.lang.Object> variables)
void
setVariablesLocal(java.util.Map<java.lang.String,java.lang.Object> variablesLocal)
-
-
-
Field Detail
-
instantiationStack
protected InstantiationStack instantiationStack
-
variables
protected java.util.Map<java.lang.String,java.lang.Object> variables
-
variablesLocal
protected java.util.Map<java.lang.String,java.lang.Object> variablesLocal
-
-
Method Detail
-
applyVariables
public void applyVariables(CoreExecution execution)
-
getInstantiationStack
public InstantiationStack getInstantiationStack()
-
setInstantiationStack
public void setInstantiationStack(InstantiationStack instantiationStack)
-
setVariables
public void setVariables(java.util.Map<java.lang.String,java.lang.Object> variables)
-
setVariablesLocal
public void setVariablesLocal(java.util.Map<java.lang.String,java.lang.Object> variablesLocal)
-
-