Package org.camunda.bpm.engine.variable
Interface VariableMap
-
- All Known Implementing Classes:
ProcessVariableLocalMap
,ProcessVariableMap
,VariableMapImpl
public interface VariableMap extends Map<String,Object>
A Map of variables.- Author:
- Daniel Meyer
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description VariableContext
asVariableContext()
Interprets the variable map as variable context<T> T
getValue(String name, Class<T> type)
<T extends TypedValue>
TgetValueTyped(String name)
VariableMap
putValue(String name, Object value)
VariableMap
putValueTyped(String name, TypedValue value)
-
Methods inherited from interface java.util.Map
clear, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, equals, forEach, get, getOrDefault, hashCode, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, values
-
-
-
-
Method Detail
-
putValue
VariableMap putValue(String name, Object value)
-
putValueTyped
VariableMap putValueTyped(String name, TypedValue value)
-
getValueTyped
<T extends TypedValue> T getValueTyped(String name)
-
asVariableContext
VariableContext asVariableContext()
Interprets the variable map as variable context- Returns:
- A VariableContext which is capable of resolving all variables in the map
-
-