Modifier and Type | Field and Description |
---|---|
protected Bindings |
defaultBindings |
protected List<Resolver> |
scriptResolvers |
protected boolean |
storeScriptVariables |
protected static Set<String> |
UNSTORED_KEYS
The script engine implementations put some key/value pairs into the binding.
|
protected VariableScope |
variableScope |
Constructor and Description |
---|
ScriptBindings(List<Resolver> scriptResolvers,
VariableScope variableScope) |
ScriptBindings(List<Resolver> scriptResolvers,
VariableScope variableScope,
boolean storeScriptVariables) |
Modifier and Type | Method and Description |
---|---|
void |
addUnstoredKey(String unstoredKey) |
void |
clear() |
boolean |
containsKey(Object key) |
boolean |
containsValue(Object value) |
Set<Map.Entry<String,Object>> |
entrySet() |
Object |
get(Object key) |
boolean |
isEmpty() |
Set<String> |
keySet() |
Object |
put(String name,
Object value) |
void |
putAll(Map<? extends String,? extends Object> toMerge) |
Object |
remove(Object key) |
int |
size() |
Collection<Object> |
values() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
compute, computeIfAbsent, computeIfPresent, equals, forEach, getOrDefault, hashCode, merge, putIfAbsent, remove, replace, replace, replaceAll
protected static final Set<String> UNSTORED_KEYS
protected VariableScope variableScope
protected Bindings defaultBindings
protected boolean storeScriptVariables
public ScriptBindings(List<Resolver> scriptResolvers, VariableScope variableScope)
public ScriptBindings(List<Resolver> scriptResolvers, VariableScope variableScope, boolean storeScriptVariables)
public boolean containsKey(Object key)
containsKey
in interface Map<String,Object>
containsKey
in interface Bindings
public boolean containsValue(Object value)
containsValue
in interface Map<String,Object>
public void addUnstoredKey(String unstoredKey)
Copyright © 2016 Alfresco. All rights reserved.