Class VariableStore<T extends CoreVariableInstance>
java.lang.Object
org.camunda.bpm.engine.impl.core.variable.scope.VariableStore<T>
- Author:
- Thorben Lindhauer
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic interface
static interface
-
Field Summary
Modifier and TypeFieldDescriptionprotected List<VariableStore.VariableStoreObserver<T>>
protected VariableStore.VariablesProvider<T>
-
Constructor Summary
ConstructorDescriptionVariableStore
(VariableStore.VariablesProvider<T> provider, VariableStore.VariableStoreObserver<T>... observers) -
Method Summary
Modifier and TypeMethodDescriptionvoid
addObserver
(VariableStore.VariableStoreObserver<T> observer) void
addVariable
(T value) boolean
containsKey
(String key) boolean
containsValue
(T value) void
getKeys()
getRemovedVariable
(String name) getVariable
(String name) getVariables
(Collection<String> variableNames) getVariablesMap
(Collection<String> variableNames) boolean
isEmpty()
boolean
boolean
void
removeObserver
(VariableStore.VariableStoreObserver<T> observer) removeVariable
(String variableName) void
void
setVariablesProvider
(VariableStore.VariablesProvider<T> variablesProvider) The variables provider can be exchanged as long as the variables are not yet initializedvoid
updateVariable
(T value)
-
Field Details
-
variablesProvider
-
variables
-
removedVariables
-
observers
-
-
Constructor Details
-
VariableStore
public VariableStore() -
VariableStore
public VariableStore(VariableStore.VariablesProvider<T> provider, VariableStore.VariableStoreObserver<T>... observers)
-
-
Method Details
-
setVariablesProvider
The variables provider can be exchanged as long as the variables are not yet initialized -
getVariablesMap
-
getVariablesMap
-
getRemovedVariable
-
getVariable
-
getVariables
-
getVariables
-
addVariable
-
updateVariable
-
isEmpty
public boolean isEmpty() -
containsValue
-
containsKey
-
getKeys
-
isInitialized
public boolean isInitialized() -
forceInitialization
public void forceInitialization() -
removeVariable
-
removeVariables
public void removeVariables() -
addObserver
-
removeObserver
-
isRemoved
-