|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.camunda.bpm.engine.impl.el.StartProcessVariableScope
public class StartProcessVariableScope
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.
| Constructor Summary | |
|---|---|
StartProcessVariableScope()
|
|
| Method Summary | |
|---|---|
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)
|
CoreVariableInstance |
getVariableInstance(String name)
Returns a single variable instance from either this scope or any of its parents. |
CoreVariableInstance |
getVariableInstanceLocal(String name)
Returns a single variable instance that this scope holds. |
Map<String,CoreVariableInstance> |
getVariableInstances()
Returns this scope's and its parent's (grandparents etc.) variables as variable instance objects. |
Map<String,CoreVariableInstance> |
getVariableInstancesLocal()
Returns the variable instances that this scope holds. |
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)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public StartProcessVariableScope()
| Method Detail |
|---|
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 VariableScope<CoreVariableInstance>public Map<String,Object> getVariablesLocal()
getVariablesLocal in interface VariableScope<CoreVariableInstance>public Object getVariable(String variableName)
getVariable in interface VariableScope<CoreVariableInstance>public Object getVariableLocal(String variableName)
getVariableLocal in interface VariableScope<CoreVariableInstance>public Set<String> getVariableNames()
getVariableNames in interface VariableScope<CoreVariableInstance>public Set<String> getVariableNamesLocal()
getVariableNamesLocal in interface VariableScope<CoreVariableInstance>
public void setVariable(String variableName,
Object value)
setVariable in interface VariableScope<CoreVariableInstance>
public void setVariableLocal(String variableName,
Object value)
setVariableLocal in interface VariableScope<CoreVariableInstance>public void setVariables(Map<String,? extends Object> variables)
setVariables in interface VariableScope<CoreVariableInstance>public void setVariablesLocal(Map<String,? extends Object> variables)
setVariablesLocal in interface VariableScope<CoreVariableInstance>public boolean hasVariables()
hasVariables in interface VariableScope<CoreVariableInstance>public boolean hasVariablesLocal()
hasVariablesLocal in interface VariableScope<CoreVariableInstance>public boolean hasVariable(String variableName)
hasVariable in interface VariableScope<CoreVariableInstance>public boolean hasVariableLocal(String variableName)
hasVariableLocal in interface VariableScope<CoreVariableInstance>public void removeVariable(String variableName)
VariableScopeHistoricVariableUpdateEntity.
removeVariable in interface VariableScope<CoreVariableInstance>public void removeVariableLocal(String variableName)
VariableScopeHistoricVariableUpdateEntity.
removeVariableLocal in interface VariableScope<CoreVariableInstance>public void removeVariables()
VariableScopeHistoricVariableUpdateEntity for each of them.
removeVariables in interface VariableScope<CoreVariableInstance>public void removeVariablesLocal()
VariableScopeHistoricVariableUpdateEntity for each of them.
removeVariablesLocal in interface VariableScope<CoreVariableInstance>public void removeVariables(Collection<String> variableNames)
VariableScopeHistoricVariableUpdateEntity for each of them.
removeVariables in interface VariableScope<CoreVariableInstance>public void removeVariablesLocal(Collection<String> variableNames)
VariableScopeHistoricVariableUpdateEntity for each of them.
removeVariablesLocal in interface VariableScope<CoreVariableInstance>public Map<String,CoreVariableInstance> getVariableInstances()
VariableScope
getVariableInstances in interface VariableScope<CoreVariableInstance>public CoreVariableInstance getVariableInstance(String name)
VariableScope
getVariableInstance in interface VariableScope<CoreVariableInstance>public Map<String,CoreVariableInstance> getVariableInstancesLocal()
VariableScope
getVariableInstancesLocal in interface VariableScope<CoreVariableInstance>public CoreVariableInstance getVariableInstanceLocal(String name)
VariableScope
getVariableInstanceLocal in interface VariableScope<CoreVariableInstance>
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||