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 ObjectgetVariable(String variableName)ObjectgetVariableLocal(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()StringgetVariableScopeKey()Map<String,Object>getVariablesLocal()VariableMapgetVariablesLocalTyped()VariableMapgetVariablesLocalTyped(boolean deserializeValues)VariableMapgetVariablesTyped()VariableMapgetVariablesTyped(boolean deserializeValues)<T extends TypedValue>
TgetVariableTyped(String variableName)<T extends TypedValue>
TgetVariableTyped(String variableName, boolean deserializeValue)booleanhasVariable(String variableName)booleanhasVariableLocal(String variableName)booleanhasVariables()booleanhasVariablesLocal()voidremoveVariable(String variableName)Removes the variable and creates a newHistoricVariableUpdateEntity.voidremoveVariableLocal(String variableName)Removes the local variable and creates a newHistoricVariableUpdateEntity.voidremoveVariables()Removes the (local) variables and creates a newHistoricVariableUpdateEntityfor each of them.voidremoveVariables(Collection<String> variableNames)Removes the variables and creates a newHistoricVariableUpdateEntityfor each of them.voidremoveVariablesLocal()Removes the (local) variables and creates a newHistoricVariableUpdateEntityfor each of them.voidremoveVariablesLocal(Collection<String> variableNames)Removes the local variables and creates a newHistoricVariableUpdateEntityfor each of them.voidsetVariable(String variableName, Object value)voidsetVariableLocal(String variableName, Object value)voidsetVariables(Map<String,? extends Object> variables)voidsetVariablesLocal(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 newHistoricVariableUpdateEntityfor each of them.
-
removeVariablesLocal
void removeVariablesLocal(Collection<String> variableNames)
Removes the local variables and creates a newHistoricVariableUpdateEntityfor each of them.
-
removeVariables
void removeVariables()
Removes the (local) variables and creates a newHistoricVariableUpdateEntityfor each of them.
-
removeVariablesLocal
void removeVariablesLocal()
Removes the (local) variables and creates a newHistoricVariableUpdateEntityfor each of them.
-
-