Package org.camunda.bpm.engine.impl.el
Class StartProcessVariableScope
java.lang.Object
org.camunda.bpm.engine.impl.el.StartProcessVariableScope
- All Implemented Interfaces:
VariableScope
Variable-scope only used to resolve variables when NO execution is active but
expression-resolving is needed. This occurs eg. when start-form properties have default's
defined. Even though variables are not available yet, expressions should be resolved
anyway.
- Author:
- Frederik Heremans
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic StartProcessVariableScopeSince aStartProcessVariableScopehas no state, it's safe to use the same instance to prevent too many useless instances created.getVariable(String variableName) getVariable(String variableName, boolean deserializeObjectValue) getVariableInstance(String name) getVariableLocal(String variableName) getVariableLocal(String variableName, boolean deserializeObjectValue) <T extends TypedValue>
TgetVariableLocalTyped(String variableName) <T extends TypedValue>
TgetVariableLocalTyped(String variableName, boolean deserializeObjectValue) getVariablesLocalTyped(boolean deserializeObjectValues) getVariablesTyped(boolean deserializeObjectValues) <T extends TypedValue>
TgetVariableTyped(String variableName) <T extends TypedValue>
TgetVariableTyped(String variableName, boolean deserializeObjectValue) 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)
-
Constructor Details
-
StartProcessVariableScope
public StartProcessVariableScope()
-
-
Method Details
-
getVariableScopeKey
- Specified by:
getVariableScopeKeyin interfaceVariableScope
-
getVariables
- Specified by:
getVariablesin interfaceVariableScope
-
getVariablesLocal
- Specified by:
getVariablesLocalin interfaceVariableScope
-
getVariable
- Specified by:
getVariablein interfaceVariableScope
-
getVariableLocal
- Specified by:
getVariableLocalin interfaceVariableScope
-
getVariablesTyped
- Specified by:
getVariablesTypedin interfaceVariableScope
-
getVariablesLocalTyped
- Specified by:
getVariablesLocalTypedin interfaceVariableScope
-
getVariablesTyped
- Specified by:
getVariablesTypedin interfaceVariableScope
-
getVariablesLocalTyped
- Specified by:
getVariablesLocalTypedin interfaceVariableScope
-
getVariable
-
getVariableLocal
-
getVariableTyped
- Specified by:
getVariableTypedin interfaceVariableScope
-
getVariableTyped
public <T extends TypedValue> T getVariableTyped(String variableName, boolean deserializeObjectValue) - Specified by:
getVariableTypedin interfaceVariableScope
-
getVariableLocalTyped
- Specified by:
getVariableLocalTypedin interfaceVariableScope
-
getVariableLocalTyped
public <T extends TypedValue> T getVariableLocalTyped(String variableName, boolean deserializeObjectValue) - 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
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
-
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
-
getVariableInstances
-
getVariableInstance
-
getVariableInstancesLocal
-
getVariableInstanceLocal