Class VariableScopeLocalAdapter
java.lang.Object
org.camunda.bpm.engine.impl.core.variable.scope.VariableScopeLocalAdapter
- All Implemented Interfaces:
VariableScope
Wraps a variable scope as if it has no parent such that it is reduced to its local
variables. For example
getVariable(String) simply delegates to
getVariableLocal(String).- Author:
- Thorben Lindhauer
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetVariable(String variableName) getVariableLocal(String variableName) <T extends TypedValue>
TgetVariableLocalTyped(String variableName) <T extends TypedValue>
TgetVariableLocalTyped(String variableName, boolean deserializeValue) getVariablesLocalTyped(boolean deserializeValues) getVariablesTyped(boolean deserializeValues) <T extends TypedValue>
TgetVariableTyped(String variableName) <T extends TypedValue>
TgetVariableTyped(String variableName, boolean deserializeValue) booleanhasVariable(String variableName) booleanhasVariableLocal(String variableName) booleanbooleanvoidremoveVariable(String variableName) Removes the variable and creates a newHistoricVariableUpdateEntity.voidremoveVariableLocal(String variableName) Removes the local variable and creates a newHistoricVariableUpdateEntity.voidRemoves the (local) variables and creates a newHistoricVariableUpdateEntityfor each of them.voidremoveVariables(Collection<String> variableNames) Removes the variables and creates a newHistoricVariableUpdateEntityfor each of them.voidRemoves 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)
-
Field Details
-
wrappedScope
-
-
Constructor Details
-
VariableScopeLocalAdapter
-
-
Method Details
-
getVariableScopeKey
- Specified by:
getVariableScopeKeyin interfaceVariableScope
-
getVariables
- Specified by:
getVariablesin interfaceVariableScope
-
getVariablesTyped
- Specified by:
getVariablesTypedin interfaceVariableScope
-
getVariablesTyped
- Specified by:
getVariablesTypedin interfaceVariableScope
-
getVariablesLocal
- Specified by:
getVariablesLocalin interfaceVariableScope
-
getVariablesLocalTyped
- Specified by:
getVariablesLocalTypedin interfaceVariableScope
-
getVariablesLocalTyped
- Specified by:
getVariablesLocalTypedin interfaceVariableScope
-
getVariable
- Specified by:
getVariablein interfaceVariableScope
-
getVariableLocal
- Specified by:
getVariableLocalin interfaceVariableScope
-
getVariableTyped
- Specified by:
getVariableTypedin interfaceVariableScope
-
getVariableTyped
- Specified by:
getVariableTypedin interfaceVariableScope
-
getVariableLocalTyped
- Specified by:
getVariableLocalTypedin interfaceVariableScope
-
getVariableLocalTyped
public <T extends TypedValue> T getVariableLocalTyped(String variableName, boolean deserializeValue) - Specified by:
getVariableLocalTypedin interfaceVariableScope
-
getVariableNames
- Specified by:
getVariableNamesin interfaceVariableScope
-
getVariableNamesLocal
- Specified by:
getVariableNamesLocalin interfaceVariableScope
-
setVariable
- Specified by:
setVariablein interfaceVariableScope
-
setVariableLocal
- Specified by:
setVariableLocalin interfaceVariableScope
-
setVariables
- Specified by:
setVariablesin interfaceVariableScope
-
setVariablesLocal
- Specified by:
setVariablesLocalin interfaceVariableScope
-
hasVariables
public boolean hasVariables()- Specified by:
hasVariablesin interfaceVariableScope
-
hasVariablesLocal
public boolean hasVariablesLocal()- Specified by:
hasVariablesLocalin interfaceVariableScope
-
hasVariable
- Specified by:
hasVariablein interfaceVariableScope
-
hasVariableLocal
- Specified by:
hasVariableLocalin interfaceVariableScope
-
removeVariable
Description copied from interface:VariableScopeRemoves the variable and creates a newHistoricVariableUpdateEntity.- Specified by:
removeVariablein interfaceVariableScope
-
removeVariableLocal
Description copied from interface:VariableScopeRemoves the local variable and creates a newHistoricVariableUpdateEntity.- Specified by:
removeVariableLocalin interfaceVariableScope
-
removeVariables
Description copied from interface:VariableScopeRemoves the variables and creates a newHistoricVariableUpdateEntityfor each of them.- Specified by:
removeVariablesin interfaceVariableScope
-
removeVariablesLocal
Description copied from interface:VariableScopeRemoves the local variables and creates a newHistoricVariableUpdateEntityfor each of them.- Specified by:
removeVariablesLocalin interfaceVariableScope
-
removeVariables
public void removeVariables()Description copied from interface:VariableScopeRemoves the (local) variables and creates a newHistoricVariableUpdateEntityfor each of them.- Specified by:
removeVariablesin interfaceVariableScope
-
removeVariablesLocal
public void removeVariablesLocal()Description copied from interface:VariableScopeRemoves the (local) variables and creates a newHistoricVariableUpdateEntityfor each of them.- Specified by:
removeVariablesLocalin interfaceVariableScope
-