Class ScriptBindings
- java.lang.Object
-
- org.flowable.common.engine.impl.scripting.ScriptBindings
-
-
Field Summary
Fields Modifier and Type Field Description protected BindingsdefaultBindingsprotected List<Resolver>scriptResolversprotected booleanstoreScriptVariablesprotected static Set<String>UNSTORED_KEYSThe script engine implementations put some key/value pairs into the binding.protected VariableContainervariableContainer
-
Constructor Summary
Constructors Constructor Description ScriptBindings(List<Resolver> scriptResolvers, VariableContainer variableContainer)ScriptBindings(List<Resolver> scriptResolvers, VariableContainer variableContainer, boolean storeScriptVariables)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddUnstoredKey(String unstoredKey)voidclear()booleancontainsKey(Object key)booleancontainsValue(Object value)Set<Map.Entry<String,Object>>entrySet()Objectget(Object key)protected Map<String,Object>getVariables()booleanisEmpty()Set<String>keySet()Objectput(String name, Object value)voidputAll(Map<? extends String,? extends Object> toMerge)Objectremove(Object key)intsize()Collection<Object>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 Detail
-
UNSTORED_KEYS
protected static final Set<String> 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.
-
variableContainer
protected VariableContainer variableContainer
-
defaultBindings
protected Bindings defaultBindings
-
storeScriptVariables
protected boolean storeScriptVariables
-
-
Constructor Detail
-
ScriptBindings
public ScriptBindings(List<Resolver> scriptResolvers, VariableContainer variableContainer)
-
ScriptBindings
public ScriptBindings(List<Resolver> scriptResolvers, VariableContainer variableContainer, boolean storeScriptVariables)
-
-
Method Detail
-
containsKey
public boolean containsKey(Object key)
- Specified by:
containsKeyin interfaceBindings- Specified by:
containsKeyin interfaceMap<String,Object>
-
containsValue
public boolean containsValue(Object value)
- Specified by:
containsValuein interfaceMap<String,Object>
-
addUnstoredKey
public void addUnstoredKey(String unstoredKey)
-
-