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> TasType(Class<T> type)booleancontainsKey(Object key)Objectget(Object key)Set<String>keySet()Objectput(String name, Object value)voidputAll(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:
containsKeyin interfaceBindings- Specified by:
containsKeyin interfaceMap<String,Object>- Overrides:
containsKeyin classSimpleBindings
-
-