Package org.camunda.bpm.engine.delegate
Interface VariableScope
-
- All Known Subinterfaces:
ActivityExecution
,BaseDelegateExecution
,CmmnActivityExecution
,CmmnCaseInstance
,DelegateCaseExecution
,DelegateExecution
,DelegateTask
- All Known Implementing Classes:
AbstractVariableScope
,CaseExecutionEntity
,CaseExecutionImpl
,CmmnExecution
,ConnectorVariableScope
,CoreExecution
,ExecutionEntity
,ExecutionImpl
,PvmExecutionImpl
,StartProcessVariableScope
,TaskEntity
,VariableScopeLocalAdapter
public interface VariableScope
- Author:
- Tom Baeyens
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Object
getVariable(String variableName)
Object
getVariableLocal(String variableName)
<T extends TypedValue>
TgetVariableLocalTyped(String variableName)
<T extends TypedValue>
TgetVariableLocalTyped(String variableName, boolean deserializeValue)
Set<String>
getVariableNames()
Set<String>
getVariableNamesLocal()
Map<String,Object>
getVariables()
String
getVariableScopeKey()
Map<String,Object>
getVariablesLocal()
VariableMap
getVariablesLocalTyped()
VariableMap
getVariablesLocalTyped(boolean deserializeValues)
VariableMap
getVariablesTyped()
VariableMap
getVariablesTyped(boolean deserializeValues)
<T extends TypedValue>
TgetVariableTyped(String variableName)
<T extends TypedValue>
TgetVariableTyped(String variableName, boolean deserializeValue)
boolean
hasVariable(String variableName)
boolean
hasVariableLocal(String variableName)
boolean
hasVariables()
boolean
hasVariablesLocal()
void
removeVariable(String variableName)
Removes the variable and creates a newHistoricVariableUpdateEntity
.void
removeVariableLocal(String variableName)
Removes the local variable and creates a newHistoricVariableUpdateEntity
.void
removeVariables()
Removes the (local) variables and creates a newHistoricVariableUpdateEntity
for each of them.void
removeVariables(Collection<String> variableNames)
Removes the variables and creates a newHistoricVariableUpdateEntity
for each of them.void
removeVariablesLocal()
Removes the (local) variables and creates a newHistoricVariableUpdateEntity
for each of them.void
removeVariablesLocal(Collection<String> variableNames)
Removes the local variables and creates a newHistoricVariableUpdateEntity
for each of them.void
setVariable(String variableName, Object value)
void
setVariableLocal(String variableName, Object value)
void
setVariables(Map<String,? extends Object> variables)
void
setVariablesLocal(Map<String,? extends Object> variables)
-
-
-
Method Detail
-
getVariableScopeKey
String getVariableScopeKey()
-
getVariablesTyped
VariableMap getVariablesTyped()
-
getVariablesTyped
VariableMap getVariablesTyped(boolean deserializeValues)
-
getVariablesLocalTyped
VariableMap getVariablesLocalTyped()
-
getVariablesLocalTyped
VariableMap getVariablesLocalTyped(boolean deserializeValues)
-
getVariableTyped
<T extends TypedValue> T getVariableTyped(String variableName)
-
getVariableTyped
<T extends TypedValue> T getVariableTyped(String variableName, boolean deserializeValue)
-
getVariableLocalTyped
<T extends TypedValue> T getVariableLocalTyped(String variableName)
-
getVariableLocalTyped
<T extends TypedValue> T getVariableLocalTyped(String variableName, boolean deserializeValue)
-
hasVariables
boolean hasVariables()
-
hasVariablesLocal
boolean hasVariablesLocal()
-
hasVariable
boolean hasVariable(String variableName)
-
hasVariableLocal
boolean hasVariableLocal(String variableName)
-
removeVariable
void removeVariable(String variableName)
Removes the variable and creates a newHistoricVariableUpdateEntity
.
-
removeVariableLocal
void removeVariableLocal(String variableName)
Removes the local variable and creates a newHistoricVariableUpdateEntity
.
-
removeVariables
void removeVariables(Collection<String> variableNames)
Removes the variables and creates a newHistoricVariableUpdateEntity
for each of them.
-
removeVariablesLocal
void removeVariablesLocal(Collection<String> variableNames)
Removes the local variables and creates a newHistoricVariableUpdateEntity
for each of them.
-
removeVariables
void removeVariables()
Removes the (local) variables and creates a newHistoricVariableUpdateEntity
for each of them.
-
removeVariablesLocal
void removeVariablesLocal()
Removes the (local) variables and creates a newHistoricVariableUpdateEntity
for each of them.
-
-