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, wait
compute, 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 VariableMap
public <T extends TypedValue> T getValueTyped(String name)
getValueTyped
in interface VariableMap
public VariableMap putValue(String name, Object value)
putValue
in interface VariableMap
public VariableMap putValueTyped(String name, TypedValue value)
putValueTyped
in interface VariableMap
public boolean containsKey(Object key)
containsKey
in interface Map<String,Object>
public boolean containsValue(Object value)
containsValue
in interface Map<String,Object>
public VariableContext asVariableContext()
VariableMap
asVariableContext
in interface VariableMap
Copyright © 2022. All rights reserved.