Class VariableContextScriptBindings
java.lang.Object
org.camunda.bpm.dmn.engine.impl.el.VariableContextScriptBindings
A Script
Bindings implementation wrapping a provided
VariableContext and Bindings instance.
Enhances the Bindings with the variables resolvable through the VariableContext.
The variables are treated as read only: all mutating operations write through to the
wrapped Bindings.- Author:
- Daniel Meyer
-
Nested Class Summary
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionVariableContextScriptBindings(Bindings wrappedBindings, VariableContext variableContext) -
Method Summary
Modifier and TypeMethodDescriptionvoidclear()booleancontainsKey(Object key) Dedicated implementation which does not fall back on thecalculateBindingMap()for performance reasonsbooleancontainsValue(Object value) entrySet()Dedicated implementation which does not fall back on thecalculateBindingMap()for performance reasonsbooleanisEmpty()keySet()Dedicated implementation which does not fall back on thecalculateBindingMap()for performance reasonsvoidintsize()protected Objectunpack(TypedValue resolvedValue) values()wrap(Bindings wrappedBindings, VariableContext variableContext) 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
-
wrappedBindings
-
variableContext
-
-
Constructor Details
-
VariableContextScriptBindings
-
-
Method Details
-
containsKey
Dedicated implementation which does not fall back on thecalculateBindingMap()for performance reasons- Specified by:
containsKeyin interfaceBindings- Specified by:
containsKeyin interfaceMap<String,Object>
-
get
Dedicated implementation which does not fall back on thecalculateBindingMap()for performance reasons -
put
Dedicated implementation which does not fall back on thecalculateBindingMap()for performance reasons -
entrySet
-
keySet
-
size
public int size() -
values
-
putAll
-
remove
-
clear
public void clear() -
containsValue
- Specified by:
containsValuein interfaceMap<String,Object>
-
isEmpty
public boolean isEmpty() -
calculateBindingMap
-
unpack
-
wrap
public static VariableContextScriptBindings wrap(Bindings wrappedBindings, VariableContext variableContext)
-