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 org.camunda.bpm.engine.variable.value.TypedValue>
TgetVariableLocalTyped(String variableName) <T extends org.camunda.bpm.engine.variable.value.TypedValue>
TgetVariableLocalTyped(String variableName, boolean deserializeObjectValue) org.camunda.bpm.engine.variable.VariableMaporg.camunda.bpm.engine.variable.VariableMaporg.camunda.bpm.engine.variable.VariableMaporg.camunda.bpm.engine.variable.VariableMapgetVariablesLocalTyped(boolean deserializeObjectValues) org.camunda.bpm.engine.variable.VariableMaporg.camunda.bpm.engine.variable.VariableMapgetVariablesTyped(boolean deserializeObjectValues) <T extends org.camunda.bpm.engine.variable.value.TypedValue>
TgetVariableTyped(String variableName) <T extends org.camunda.bpm.engine.variable.value.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
public org.camunda.bpm.engine.variable.VariableMap getVariables()- Specified by:
getVariablesin interfaceVariableScope
-
getVariablesLocal
public org.camunda.bpm.engine.variable.VariableMap getVariablesLocal()- Specified by:
getVariablesLocalin interfaceVariableScope
-
getVariable
- Specified by:
getVariablein interfaceVariableScope
-
getVariableLocal
- Specified by:
getVariableLocalin interfaceVariableScope
-
getVariablesTyped
public org.camunda.bpm.engine.variable.VariableMap getVariablesTyped(boolean deserializeObjectValues) - Specified by:
getVariablesTypedin interfaceVariableScope
-
getVariablesLocalTyped
public org.camunda.bpm.engine.variable.VariableMap getVariablesLocalTyped()- Specified by:
getVariablesLocalTypedin interfaceVariableScope
-
getVariablesTyped
public org.camunda.bpm.engine.variable.VariableMap getVariablesTyped()- Specified by:
getVariablesTypedin interfaceVariableScope
-
getVariablesLocalTyped
public org.camunda.bpm.engine.variable.VariableMap getVariablesLocalTyped(boolean deserializeObjectValues) - Specified by:
getVariablesLocalTypedin interfaceVariableScope
-
getVariable
-
getVariableLocal
-
getVariableTyped
public <T extends org.camunda.bpm.engine.variable.value.TypedValue> T getVariableTyped(String variableName) - Specified by:
getVariableTypedin interfaceVariableScope
-
getVariableTyped
public <T extends org.camunda.bpm.engine.variable.value.TypedValue> T getVariableTyped(String variableName, boolean deserializeObjectValue) - Specified by:
getVariableTypedin interfaceVariableScope
-
getVariableLocalTyped
public <T extends org.camunda.bpm.engine.variable.value.TypedValue> T getVariableLocalTyped(String variableName) - Specified by:
getVariableLocalTypedin interfaceVariableScope
-
getVariableLocalTyped
public <T extends org.camunda.bpm.engine.variable.value.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