public class ProcessVariableMap extends Object
BusinessProcess.setVariable(String, Object) and
BusinessProcess.getVariable(String), so that they are not flushed
prematurely.| Modifier and Type | Field and Description |
|---|---|
protected BusinessProcess |
businessProcess |
| Constructor and Description |
|---|
ProcessVariableMap() |
| Modifier and Type | Method and Description |
|---|---|
VariableContext |
asVariableContext()
Interprets the variable map as variable context
|
void |
clear() |
boolean |
containsKey(Object key) |
boolean |
containsValue(Object value) |
Set<Map.Entry<String,Object>> |
entrySet() |
Object |
get(Object key) |
<T> T |
getValue(String name,
Class<T> type) |
<T extends TypedValue> |
getValueTyped(String name) |
protected Object |
getVariable(String variableName) |
protected <T extends TypedValue> |
getVariableTyped(String variableName) |
boolean |
isEmpty() |
Set<String> |
keySet() |
Object |
put(String key,
Object value) |
void |
putAll(Map<? extends String,? extends Object> m) |
VariableMap |
putValue(String name,
Object value) |
VariableMap |
putValueTyped(String name,
TypedValue value) |
Object |
remove(Object key) |
protected void |
setVariable(String variableName,
Object value) |
int |
size() |
Collection<Object> |
values() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, equals, forEach, getOrDefault, hashCode, merge, putIfAbsent, remove, replace, replace, replaceAll@Inject protected BusinessProcess businessProcess
protected <T extends TypedValue> T getVariableTyped(String variableName)
public <T> T getValue(String name, Class<T> type)
getValue in interface VariableMappublic <T extends TypedValue> T getValueTyped(String name)
getValueTyped in interface VariableMappublic VariableMap putValue(String name, Object value)
putValue in interface VariableMappublic VariableMap putValueTyped(String name, TypedValue value)
putValueTyped in interface VariableMappublic boolean containsKey(Object key)
containsKey in interface Map<String,Object>public boolean containsValue(Object value)
containsValue in interface Map<String,Object>public VariableContext asVariableContext()
VariableMapasVariableContext in interface VariableMapCopyright © 2022. All rights reserved.