Package com.axelor.script
Class ScriptBindings
- java.lang.Object
-
- javax.script.SimpleBindings
-
- com.axelor.script.ScriptBindings
-
public class ScriptBindings extends SimpleBindings
-
-
Constructor Summary
Constructors Constructor Description ScriptBindings(Map<String,Object> variables)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <T> T
asType(Class<T> type)
boolean
containsKey(Object key)
Object
get(Object key)
Set<String>
keySet()
Object
put(String name, Object value)
void
putAll(Map<? extends String,? extends Object> toMerge)
-
Methods inherited from class javax.script.SimpleBindings
clear, containsValue, entrySet, isEmpty, remove, 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
-
-
-
-
Method Detail
-
asType
public <T> T asType(Class<T> type)
-
containsKey
public boolean containsKey(Object key)
- Specified by:
containsKey
in interfaceBindings
- Specified by:
containsKey
in interfaceMap<String,Object>
- Overrides:
containsKey
in classSimpleBindings
-
-