public class StartProcessVariableScope extends Object implements VariableScope
| Constructor and Description |
|---|
StartProcessVariableScope() |
| Modifier and Type | Method and Description |
|---|---|
static StartProcessVariableScope |
getSharedInstance()
Since a
StartProcessVariableScope has no state, it's safe to use the same
instance to prevent too many useless instances created. |
Object |
getVariable(String variableName) |
Object |
getVariableLocal(String variableName) |
Set<String> |
getVariableNames() |
Set<String> |
getVariableNamesLocal() |
Map<String,Object> |
getVariables() |
Map<String,Object> |
getVariablesLocal() |
boolean |
hasVariable(String variableName) |
boolean |
hasVariableLocal(String variableName) |
boolean |
hasVariables() |
boolean |
hasVariablesLocal() |
void |
removeVariable(String variableName)
Removes the variable and creates a new
HistoricVariableUpdateEntity. |
void |
removeVariableLocal(String variableName)
Removes the local variable and creates a new
HistoricVariableUpdateEntity. |
void |
removeVariables()
Removes the (local) variables and creates a new
HistoricVariableUpdateEntity for each of them. |
void |
removeVariables(Collection<String> variableNames)
Removes the variables and creates a new
HistoricVariableUpdateEntity for each of them. |
void |
removeVariablesLocal()
Removes the (local) variables and creates a new
HistoricVariableUpdateEntity for each of them. |
void |
removeVariablesLocal(Collection<String> variableNames)
Removes the local variables and creates a new
HistoricVariableUpdateEntity 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) |
public static StartProcessVariableScope getSharedInstance()
StartProcessVariableScope has no state, it's safe to use the same
instance to prevent too many useless instances created.public Map<String,Object> getVariables()
getVariables in interface VariableScopepublic Map<String,Object> getVariablesLocal()
getVariablesLocal in interface VariableScopepublic Object getVariable(String variableName)
getVariable in interface VariableScopepublic Object getVariableLocal(String variableName)
getVariableLocal in interface VariableScopepublic Set<String> getVariableNames()
getVariableNames in interface VariableScopepublic Set<String> getVariableNamesLocal()
getVariableNamesLocal in interface VariableScopepublic void setVariable(String variableName, Object value)
setVariable in interface VariableScopepublic void setVariableLocal(String variableName, Object value)
setVariableLocal in interface VariableScopepublic void setVariables(Map<String,? extends Object> variables)
setVariables in interface VariableScopepublic void setVariablesLocal(Map<String,? extends Object> variables)
setVariablesLocal in interface VariableScopepublic boolean hasVariables()
hasVariables in interface VariableScopepublic boolean hasVariablesLocal()
hasVariablesLocal in interface VariableScopepublic boolean hasVariable(String variableName)
hasVariable in interface VariableScopepublic boolean hasVariableLocal(String variableName)
hasVariableLocal in interface VariableScopepublic void removeVariable(String variableName)
VariableScopeHistoricVariableUpdateEntity.removeVariable in interface VariableScopepublic void removeVariableLocal(String variableName)
VariableScopeHistoricVariableUpdateEntity.removeVariableLocal in interface VariableScopepublic void removeVariables()
VariableScopeHistoricVariableUpdateEntity for each of them.removeVariables in interface VariableScopepublic void removeVariablesLocal()
VariableScopeHistoricVariableUpdateEntity for each of them.removeVariablesLocal in interface VariableScopepublic void removeVariables(Collection<String> variableNames)
VariableScopeHistoricVariableUpdateEntity for each of them.removeVariables in interface VariableScopepublic void removeVariablesLocal(Collection<String> variableNames)
VariableScopeHistoricVariableUpdateEntity for each of them.removeVariablesLocal in interface VariableScopeCopyright © 2015. All rights reserved.