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 |
getVariable(String variableName,
boolean deserializeObjectValue) |
CoreVariableInstance |
getVariableInstance(String name) |
CoreVariableInstance |
getVariableInstanceLocal(String name) |
Map<String,CoreVariableInstance> |
getVariableInstances() |
Map<String,CoreVariableInstance> |
getVariableInstancesLocal() |
Object |
getVariableLocal(String variableName) |
Object |
getVariableLocal(String variableName,
boolean deserializeObjectValue) |
<T extends org.camunda.bpm.engine.variable.value.TypedValue> |
getVariableLocalTyped(String variableName) |
<T extends org.camunda.bpm.engine.variable.value.TypedValue> |
getVariableLocalTyped(String variableName,
boolean deserializeObjectValue) |
Set<String> |
getVariableNames() |
Set<String> |
getVariableNamesLocal() |
org.camunda.bpm.engine.variable.VariableMap |
getVariables() |
String |
getVariableScopeKey() |
org.camunda.bpm.engine.variable.VariableMap |
getVariablesLocal() |
org.camunda.bpm.engine.variable.VariableMap |
getVariablesLocalTyped() |
org.camunda.bpm.engine.variable.VariableMap |
getVariablesLocalTyped(boolean deserializeObjectValues) |
org.camunda.bpm.engine.variable.VariableMap |
getVariablesTyped() |
org.camunda.bpm.engine.variable.VariableMap |
getVariablesTyped(boolean deserializeObjectValues) |
<T extends org.camunda.bpm.engine.variable.value.TypedValue> |
getVariableTyped(String variableName) |
<T extends org.camunda.bpm.engine.variable.value.TypedValue> |
getVariableTyped(String variableName,
boolean deserializeObjectValue) |
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 String getVariableScopeKey()
getVariableScopeKey
in interface VariableScope
public org.camunda.bpm.engine.variable.VariableMap getVariables()
getVariables
in interface VariableScope
public org.camunda.bpm.engine.variable.VariableMap getVariablesLocal()
getVariablesLocal
in interface VariableScope
public Object getVariable(String variableName)
getVariable
in interface VariableScope
public Object getVariableLocal(String variableName)
getVariableLocal
in interface VariableScope
public org.camunda.bpm.engine.variable.VariableMap getVariablesTyped(boolean deserializeObjectValues)
getVariablesTyped
in interface VariableScope
public org.camunda.bpm.engine.variable.VariableMap getVariablesLocalTyped()
getVariablesLocalTyped
in interface VariableScope
public org.camunda.bpm.engine.variable.VariableMap getVariablesTyped()
getVariablesTyped
in interface VariableScope
public org.camunda.bpm.engine.variable.VariableMap getVariablesLocalTyped(boolean deserializeObjectValues)
getVariablesLocalTyped
in interface VariableScope
public Object getVariableLocal(String variableName, boolean deserializeObjectValue)
public <T extends org.camunda.bpm.engine.variable.value.TypedValue> T getVariableTyped(String variableName)
getVariableTyped
in interface VariableScope
public <T extends org.camunda.bpm.engine.variable.value.TypedValue> T getVariableTyped(String variableName, boolean deserializeObjectValue)
getVariableTyped
in interface VariableScope
public <T extends org.camunda.bpm.engine.variable.value.TypedValue> T getVariableLocalTyped(String variableName)
getVariableLocalTyped
in interface VariableScope
public <T extends org.camunda.bpm.engine.variable.value.TypedValue> T getVariableLocalTyped(String variableName, boolean deserializeObjectValue)
getVariableLocalTyped
in interface VariableScope
public Set<String> getVariableNames()
getVariableNames
in interface VariableScope
public Set<String> getVariableNamesLocal()
getVariableNamesLocal
in interface VariableScope
public void setVariable(String variableName, Object value)
setVariable
in interface VariableScope
public void setVariableLocal(String variableName, Object value)
setVariableLocal
in interface VariableScope
public void setVariables(Map<String,? extends Object> variables)
setVariables
in interface VariableScope
public void setVariablesLocal(Map<String,? extends Object> variables)
setVariablesLocal
in interface VariableScope
public boolean hasVariables()
hasVariables
in interface VariableScope
public boolean hasVariablesLocal()
hasVariablesLocal
in interface VariableScope
public boolean hasVariable(String variableName)
hasVariable
in interface VariableScope
public boolean hasVariableLocal(String variableName)
hasVariableLocal
in interface VariableScope
public void removeVariable(String variableName)
VariableScope
HistoricVariableUpdateEntity
.removeVariable
in interface VariableScope
public void removeVariableLocal(String variableName)
VariableScope
HistoricVariableUpdateEntity
.removeVariableLocal
in interface VariableScope
public void removeVariables()
VariableScope
HistoricVariableUpdateEntity
for each of them.removeVariables
in interface VariableScope
public void removeVariablesLocal()
VariableScope
HistoricVariableUpdateEntity
for each of them.removeVariablesLocal
in interface VariableScope
public void removeVariables(Collection<String> variableNames)
VariableScope
HistoricVariableUpdateEntity
for each of them.removeVariables
in interface VariableScope
public void removeVariablesLocal(Collection<String> variableNames)
VariableScope
HistoricVariableUpdateEntity
for each of them.removeVariablesLocal
in interface VariableScope
public Map<String,CoreVariableInstance> getVariableInstances()
public CoreVariableInstance getVariableInstance(String name)
public Map<String,CoreVariableInstance> getVariableInstancesLocal()
public CoreVariableInstance getVariableInstanceLocal(String name)
Copyright © 2017. All rights reserved.