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
-
Method Summary
Modifier and TypeMethodDescriptionstatic StartProcessVariableScope
Since aStartProcessVariableScope
has 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) boolean
hasVariable
(String variableName) boolean
hasVariableLocal
(String variableName) boolean
boolean
void
removeVariable
(String variableName) Removes the variable and creates a newHistoricVariableUpdateEntity
.void
removeVariableLocal
(String variableName) Removes the local variable and creates a newHistoricVariableUpdateEntity
.void
Removes the (local) variables and creates a newHistoricVariableUpdateEntity
for each of them.void
removeVariables
(Collection<String> variableNames) Removes the variables and creates a newHistoricVariableUpdateEntity
for each of them.void
Removes the (local) variables and creates a newHistoricVariableUpdateEntity
for each of them.void
removeVariablesLocal
(Collection<String> variableNames) Removes the local variables and creates a newHistoricVariableUpdateEntity
for each of them.void
setVariable
(String variableName, Object value) void
setVariableLocal
(String variableName, Object value) void
setVariables
(Map<String, ? extends Object> variables) void
setVariablesLocal
(Map<String, ? extends Object> variables)
-
Constructor Details
-
StartProcessVariableScope
public StartProcessVariableScope()
-
-
Method Details
-
getVariableScopeKey
- Specified by:
getVariableScopeKey
in interfaceVariableScope
-
getVariables
- Specified by:
getVariables
in interfaceVariableScope
-
getVariablesLocal
- Specified by:
getVariablesLocal
in interfaceVariableScope
-
getVariable
- Specified by:
getVariable
in interfaceVariableScope
-
getVariableLocal
- Specified by:
getVariableLocal
in interfaceVariableScope
-
getVariablesTyped
- Specified by:
getVariablesTyped
in interfaceVariableScope
-
getVariablesLocalTyped
- Specified by:
getVariablesLocalTyped
in interfaceVariableScope
-
getVariablesTyped
- Specified by:
getVariablesTyped
in interfaceVariableScope
-
getVariablesLocalTyped
- Specified by:
getVariablesLocalTyped
in interfaceVariableScope
-
getVariable
-
getVariableLocal
-
getVariableTyped
- Specified by:
getVariableTyped
in interfaceVariableScope
-
getVariableTyped
public <T extends TypedValue> T getVariableTyped(String variableName, boolean deserializeObjectValue) - Specified by:
getVariableTyped
in interfaceVariableScope
-
getVariableLocalTyped
- Specified by:
getVariableLocalTyped
in interfaceVariableScope
-
getVariableLocalTyped
public <T extends TypedValue> T getVariableLocalTyped(String variableName, boolean deserializeObjectValue) - Specified by:
getVariableLocalTyped
in interfaceVariableScope
-
getVariableNames
- Specified by:
getVariableNames
in interfaceVariableScope
-
getVariableNamesLocal
- Specified by:
getVariableNamesLocal
in interfaceVariableScope
-
setVariable
- Specified by:
setVariable
in interfaceVariableScope
-
setVariableLocal
- Specified by:
setVariableLocal
in interfaceVariableScope
-
setVariables
- Specified by:
setVariables
in interfaceVariableScope
-
setVariablesLocal
- Specified by:
setVariablesLocal
in interfaceVariableScope
-
hasVariables
public boolean hasVariables()- Specified by:
hasVariables
in interfaceVariableScope
-
hasVariablesLocal
public boolean hasVariablesLocal()- Specified by:
hasVariablesLocal
in interfaceVariableScope
-
hasVariable
- Specified by:
hasVariable
in interfaceVariableScope
-
hasVariableLocal
- Specified by:
hasVariableLocal
in interfaceVariableScope
-
removeVariable
Description copied from interface:VariableScope
Removes the variable and creates a newHistoricVariableUpdateEntity
.- Specified by:
removeVariable
in interfaceVariableScope
-
removeVariableLocal
Description copied from interface:VariableScope
Removes the local variable and creates a newHistoricVariableUpdateEntity
.- Specified by:
removeVariableLocal
in interfaceVariableScope
-
removeVariables
public void removeVariables()Description copied from interface:VariableScope
Removes the (local) variables and creates a newHistoricVariableUpdateEntity
for each of them.- Specified by:
removeVariables
in interfaceVariableScope
-
removeVariablesLocal
public void removeVariablesLocal()Description copied from interface:VariableScope
Removes the (local) variables and creates a newHistoricVariableUpdateEntity
for each of them.- Specified by:
removeVariablesLocal
in interfaceVariableScope
-
removeVariables
Description copied from interface:VariableScope
Removes the variables and creates a newHistoricVariableUpdateEntity
for each of them.- Specified by:
removeVariables
in interfaceVariableScope
-
removeVariablesLocal
Description copied from interface:VariableScope
Removes the local variables and creates a newHistoricVariableUpdateEntity
for each of them.- Specified by:
removeVariablesLocal
in interfaceVariableScope
-
getVariableInstances
-
getVariableInstance
-
getVariableInstancesLocal
-
getVariableInstanceLocal