Class ProcessVariableLocalMap
java.lang.Object
org.eximeebpms.bpm.engine.cdi.impl.ProcessVariableLocalMap
Allows to expose the local process variables of the current business process as a
java.util.Map<String,Object>
The map delegates changes to
BusinessProcess.setVariableLocal(String, Object) and
BusinessProcess.getVariableLocal(String), so that they are not flushed
prematurely.- Author:
- Michael Scholz
-
Nested Class Summary
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.eximeebpms.bpm.engine.variable.context.VariableContextvoidclear()booleancontainsKey(Object key) booleancontainsValue(Object value) entrySet()<T> T<T extends org.eximeebpms.bpm.engine.variable.value.TypedValue>
TgetValueTyped(String name) protected ObjectgetVariable(String variableName) protected <T extends org.eximeebpms.bpm.engine.variable.value.TypedValue>
TgetVariableTyped(String variableName) booleanisEmpty()keySet()voidorg.eximeebpms.bpm.engine.variable.VariableMaporg.eximeebpms.bpm.engine.variable.VariableMapputValueTyped(String name, org.eximeebpms.bpm.engine.variable.value.TypedValue value) protected voidsetVariable(String variableName, Object value) intsize()values()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.util.Map
compute, computeIfAbsent, computeIfPresent, equals, forEach, getOrDefault, hashCode, merge, putIfAbsent, remove, replace, replace, replaceAll
-
Field Details
-
businessProcess
-
-
Constructor Details
-
ProcessVariableLocalMap
public ProcessVariableLocalMap()
-
-
Method Details
-
getVariable
-
getVariableTyped
protected <T extends org.eximeebpms.bpm.engine.variable.value.TypedValue> T getVariableTyped(String variableName) -
setVariable
-
get
-
getValue
- Specified by:
getValuein interfaceorg.eximeebpms.bpm.engine.variable.VariableMap
-
getValueTyped
- Specified by:
getValueTypedin interfaceorg.eximeebpms.bpm.engine.variable.VariableMap
-
put
-
putAll
-
putValue
- Specified by:
putValuein interfaceorg.eximeebpms.bpm.engine.variable.VariableMap
-
putValueTyped
public org.eximeebpms.bpm.engine.variable.VariableMap putValueTyped(String name, org.eximeebpms.bpm.engine.variable.value.TypedValue value) - Specified by:
putValueTypedin interfaceorg.eximeebpms.bpm.engine.variable.VariableMap
-
size
public int size() -
isEmpty
public boolean isEmpty() -
containsKey
- Specified by:
containsKeyin interfaceMap<String,Object>
-
containsValue
- Specified by:
containsValuein interfaceMap<String,Object>
-
remove
-
clear
public void clear() -
keySet
-
values
-
entrySet
-
asVariableContext
public org.eximeebpms.bpm.engine.variable.context.VariableContext asVariableContext()- Specified by:
asVariableContextin interfaceorg.eximeebpms.bpm.engine.variable.VariableMap
-