Class ScriptBindings
java.lang.Object
org.flowable.common.engine.impl.scripting.ScriptBindings
- Author:
- Tom Baeyens, Joram Barrez
-
Nested Class Summary
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Bindings
protected boolean
The script engine implementations put some key/value pairs into the binding.protected VariableContainer
-
Constructor Summary
ConstructorsConstructorDescriptionScriptBindings
(List<Resolver> scriptResolvers, VariableContainer variableContainer) ScriptBindings
(List<Resolver> scriptResolvers, VariableContainer variableContainer, boolean storeScriptVariables) -
Method Summary
Modifier and TypeMethodDescriptionvoid
addUnstoredKey
(String unstoredKey) void
clear()
boolean
containsKey
(Object key) boolean
containsValue
(Object value) entrySet()
boolean
isEmpty()
keySet()
void
int
size()
values()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.util.Map
compute, computeIfAbsent, computeIfPresent, equals, forEach, getOrDefault, hashCode, merge, putIfAbsent, remove, replace, replace, replaceAll
-
Field Details
-
UNSTORED_KEYS
The script engine implementations put some key/value pairs into the binding. This list contains those keys, such that they wouldn't be stored as process variable. This list contains the keywords for JUEL, Javascript and Groovy. -
scriptResolvers
-
variableContainer
-
defaultBindings
-
storeScriptVariables
protected boolean storeScriptVariables
-
-
Constructor Details
-
ScriptBindings
-
ScriptBindings
public ScriptBindings(List<Resolver> scriptResolvers, VariableContainer variableContainer, boolean storeScriptVariables)
-
-
Method Details
-
containsKey
- Specified by:
containsKey
in interfaceBindings
- Specified by:
containsKey
in interfaceMap<String,
Object>
-
get
-
put
-
entrySet
-
keySet
-
size
public int size() -
values
-
putAll
-
remove
-
clear
public void clear() -
containsValue
- Specified by:
containsValue
in interfaceMap<String,
Object>
-
isEmpty
public boolean isEmpty() -
addUnstoredKey
-
getVariables
-