Class VariableMapImpl
java.lang.Object
org.camunda.bpm.engine.variable.impl.VariableMapImpl
- All Implemented Interfaces:
Serializable,Map<String,,Object> VariableContext,VariableMap
- Author:
- Daniel Meyer
- See Also:
-
Nested Class Summary
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionInterprets the variable map as variable contextvoidclear()booleancontainsKey(Object key) booleancontainsValue(Object value) booleancontainsVariable(String variableName) Checks whether a variable with the given name is resolve through this context.entrySet()boolean<T> T<T extends TypedValue>
TgetValueTyped(String name) inthashCode()booleanisEmpty()keySet()voidputValueTyped(String name, TypedValue value) Resolve a value in this context.intsize()toString()values()Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.util.Map
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
-
Field Details
-
variables
-
-
Constructor Details
-
VariableMapImpl
-
VariableMapImpl
-
VariableMapImpl
public VariableMapImpl()
-
-
Method Details
-
putValue
- Specified by:
putValuein interfaceVariableMap
-
putValueTyped
- Specified by:
putValueTypedin interfaceVariableMap
-
getValue
- Specified by:
getValuein interfaceVariableMap
-
getValueTyped
- Specified by:
getValueTypedin interfaceVariableMap
-
size
public int size() -
isEmpty
public boolean isEmpty() -
containsKey
- Specified by:
containsKeyin interfaceMap<String,Object>
-
containsValue
- Specified by:
containsValuein interfaceMap<String,Object>
-
get
-
put
-
remove
-
putAll
-
clear
public void clear() -
keySet
-
values
-
entrySet
-
toString
-
equals
-
hashCode
public int hashCode() -
asValueMap
-
resolve
Description copied from interface:VariableContextResolve a value in this context.- Specified by:
resolvein interfaceVariableContext- Parameters:
variableName- the name of the variable to resolve.- Returns:
- the value of the variable or null in case the variable does not exist.
-
containsVariable
Description copied from interface:VariableContextChecks whether a variable with the given name is resolve through this context.- Specified by:
containsVariablein interfaceVariableContext- Parameters:
variableName- the name of the variable to check- Returns:
- true if the variable is resolve.
-
asVariableContext
Description copied from interface:VariableMapInterprets the variable map as variable context- Specified by:
asVariableContextin interfaceVariableMap- Returns:
- A VariableContext which is capable of resolving all variables in the map
-