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 java.lang.ObjectgetVariable(java.lang.String variableName)java.lang.ObjectgetVariableLocal(java.lang.String variableName)<T extends TypedValue>
TgetVariableLocalTyped(java.lang.String variableName)<T extends TypedValue>
TgetVariableLocalTyped(java.lang.String variableName, boolean deserializeValue)java.util.Set<java.lang.String>getVariableNames()java.util.Set<java.lang.String>getVariableNamesLocal()java.util.Map<java.lang.String,java.lang.Object>getVariables()java.lang.StringgetVariableScopeKey()java.util.Map<java.lang.String,java.lang.Object>getVariablesLocal()VariableMapgetVariablesLocalTyped()VariableMapgetVariablesLocalTyped(boolean deserializeValues)VariableMapgetVariablesTyped()VariableMapgetVariablesTyped(boolean deserializeValues)<T extends TypedValue>
TgetVariableTyped(java.lang.String variableName)<T extends TypedValue>
TgetVariableTyped(java.lang.String variableName, boolean deserializeValue)booleanhasVariable(java.lang.String variableName)booleanhasVariableLocal(java.lang.String variableName)booleanhasVariables()booleanhasVariablesLocal()voidremoveVariable(java.lang.String variableName)Removes the variable and creates a newHistoricVariableUpdateEntity.voidremoveVariableLocal(java.lang.String variableName)Removes the local variable and creates a newHistoricVariableUpdateEntity.voidremoveVariables()Removes the (local) variables and creates a newHistoricVariableUpdateEntityfor each of them.voidremoveVariables(java.util.Collection<java.lang.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(java.util.Collection<java.lang.String> variableNames)Removes the local variables and creates a newHistoricVariableUpdateEntityfor each of them.voidsetVariable(java.lang.String variableName, java.lang.Object value)voidsetVariableLocal(java.lang.String variableName, java.lang.Object value)voidsetVariables(java.util.Map<java.lang.String,? extends java.lang.Object> variables)voidsetVariablesLocal(java.util.Map<java.lang.String,? extends java.lang.Object> variables)
-
-
-
Method Detail
-
getVariableScopeKey
java.lang.String getVariableScopeKey()
-
getVariables
java.util.Map<java.lang.String,java.lang.Object> getVariables()
-
getVariablesTyped
VariableMap getVariablesTyped()
-
getVariablesTyped
VariableMap getVariablesTyped(boolean deserializeValues)
-
getVariablesLocal
java.util.Map<java.lang.String,java.lang.Object> getVariablesLocal()
-
getVariablesLocalTyped
VariableMap getVariablesLocalTyped()
-
getVariablesLocalTyped
VariableMap getVariablesLocalTyped(boolean deserializeValues)
-
getVariable
java.lang.Object getVariable(java.lang.String variableName)
-
getVariableLocal
java.lang.Object getVariableLocal(java.lang.String variableName)
-
getVariableTyped
<T extends TypedValue> T getVariableTyped(java.lang.String variableName)
-
getVariableTyped
<T extends TypedValue> T getVariableTyped(java.lang.String variableName, boolean deserializeValue)
-
getVariableLocalTyped
<T extends TypedValue> T getVariableLocalTyped(java.lang.String variableName)
-
getVariableLocalTyped
<T extends TypedValue> T getVariableLocalTyped(java.lang.String variableName, boolean deserializeValue)
-
getVariableNames
java.util.Set<java.lang.String> getVariableNames()
-
getVariableNamesLocal
java.util.Set<java.lang.String> getVariableNamesLocal()
-
setVariable
void setVariable(java.lang.String variableName, java.lang.Object value)
-
setVariableLocal
void setVariableLocal(java.lang.String variableName, java.lang.Object value)
-
setVariables
void setVariables(java.util.Map<java.lang.String,? extends java.lang.Object> variables)
-
setVariablesLocal
void setVariablesLocal(java.util.Map<java.lang.String,? extends java.lang.Object> variables)
-
hasVariables
boolean hasVariables()
-
hasVariablesLocal
boolean hasVariablesLocal()
-
hasVariable
boolean hasVariable(java.lang.String variableName)
-
hasVariableLocal
boolean hasVariableLocal(java.lang.String variableName)
-
removeVariable
void removeVariable(java.lang.String variableName)
Removes the variable and creates a newHistoricVariableUpdateEntity.
-
removeVariableLocal
void removeVariableLocal(java.lang.String variableName)
Removes the local variable and creates a newHistoricVariableUpdateEntity.
-
removeVariables
void removeVariables(java.util.Collection<java.lang.String> variableNames)
Removes the variables and creates a newHistoricVariableUpdateEntityfor each of them.
-
removeVariablesLocal
void removeVariablesLocal(java.util.Collection<java.lang.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.
-
-