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.
|
VariableMap |
getCachedLocalVariables() |
VariableMap |
getCachedVariables() |
Execution |
getExecution()
get the current execution
|
String |
getExecutionId() |
Task |
getTask()
get the current task
|
TypedValue |
getVariable(String variableName)
get a process variable
|
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()
TypedValue getVariable(String variableName)
VariableMap getCachedVariables()
VariableMap
of process variables cached between flushesvoid setVariableLocal(String variableName, Object value)
TypedValue getVariableLocal(String variableName)
VariableMap getCachedLocalVariables()
VariableMap
of local process variables cached between flushesvoid flushVariableCache()
Copyright © 2022. All rights reserved.