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.
|
Map<String,Object> |
getCachedVariables() |
Map<String,Object> |
getCachedVariablesLocal() |
Execution |
getExecution()
get the current execution
|
String |
getExecutionId() |
Task |
getTask()
get the current task
|
Object |
getVariable(String variableName)
get a process variable
|
Object |
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()
Map<String,Object> getCachedVariables()
void setVariableLocal(String variableName, Object value)
Map<String,Object> getCachedVariablesLocal()
void flushVariableCache()
Copyright © 2018. All rights reserved.