public interface ContextAssociationManager
Modifier and Type | Method and Description |
---|---|
void |
disAssociate()
Disassociates the current process instance with a context / scope
|
void |
flushVariableCache()
allows to flush the cached variables.
|
org.camunda.bpm.engine.variable.VariableMap |
getCachedLocalVariables() |
org.camunda.bpm.engine.variable.VariableMap |
getCachedVariables() |
Execution |
getExecution()
get the current execution
|
String |
getExecutionId() |
Task |
getTask()
get the current task
|
org.camunda.bpm.engine.variable.value.TypedValue |
getVariable(String variableName)
get a process variable
|
org.camunda.bpm.engine.variable.value.TypedValue |
getVariableLocal(String variableName)
get a local process variable
|
void |
setExecution(Execution execution)
associate with the provided execution
|
void |
setTask(Task task)
set a current task
|
void |
setVariable(String variableName,
Object value)
set a process variable
|
void |
setVariableLocal(String variableName,
Object value)
set a local process variable
|
void disAssociate()
ProcessEngineException
- if no process instance is currently associatedString getExecutionId()
Execution getExecution()
void setExecution(Execution execution)
void setTask(Task task)
Task getTask()
org.camunda.bpm.engine.variable.value.TypedValue getVariable(String variableName)
org.camunda.bpm.engine.variable.VariableMap getCachedVariables()
VariableMap
of process variables cached between flushesvoid setVariableLocal(String variableName, Object value)
org.camunda.bpm.engine.variable.value.TypedValue getVariableLocal(String variableName)
org.camunda.bpm.engine.variable.VariableMap getCachedLocalVariables()
VariableMap
of local process variables cached between flushesvoid flushVariableCache()
Copyright © 2019. All rights reserved.