Class VariableStore<T extends CoreVariableInstance>
java.lang.Object
org.camunda.bpm.engine.impl.core.variable.scope.VariableStore<T>
- Author:
- Thorben Lindhauer
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfacestatic interface -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected List<VariableStore.VariableStoreObserver<T>>protected VariableStore.VariablesProvider<T> -
Constructor Summary
ConstructorsConstructorDescriptionVariableStore(VariableStore.VariablesProvider<T> provider, VariableStore.VariableStoreObserver<T>... observers) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddObserver(VariableStore.VariableStoreObserver<T> observer) voidaddVariable(T value) booleancontainsKey(String key) booleancontainsValue(T value) voidgetKeys()getRemovedVariable(String name) getVariable(String name) getVariables(Collection<String> variableNames) getVariablesMap(Collection<String> variableNames) booleanisEmpty()booleanbooleanvoidremoveObserver(VariableStore.VariableStoreObserver<T> observer) removeVariable(String variableName) voidvoidsetVariablesProvider(VariableStore.VariablesProvider<T> variablesProvider) The variables provider can be exchanged as long as the variables are not yet initializedvoidupdateVariable(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
-