Class AutomationMapper
java.lang.Object
org.nuxeo.automation.scripting.internals.AutomationMapper
Class injected/published in Nashorn engine to execute automation service.
- Since:
- 7.2
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclear()static CompiledScriptcompile(Compilable compilable) computeIfAbsent(String key, Function<? super String, ? extends Object> mappingFunction) computeIfPresent(String key, BiFunction<? super String, ? super Object, ? extends Object> remappingFunction) booleancontainsKey(Object key) booleancontainsValue(Object value) entrySet()executeOperation(String opId, Object input, org.openjdk.nashorn.api.scripting.ScriptObjectMirror parameters) voidflush()voidforEach(BiConsumer<? super String, ? super Object> action) getOrDefault(Object key, Object defaultValue) booleanisEmpty()keySet()merge(String key, Object value, BiFunction<? super Object, ? super Object, ? extends Object> remappingFunction) voidputIfAbsent(String key, Object value) booleanbooleanvoidreplaceAll(BiFunction<? super String, ? super Object, ? extends Object> function) intsize()values()
-
Field Details
-
ctx
-
automatic
-
bindings
-
wrapped
-
-
Constructor Details
-
AutomationMapper
-
-
Method Details
-
compile
-
flush
public void flush() -
unwrap
-
wrap
-
executeOperation
public Object executeOperation(String opId, Object input, org.openjdk.nashorn.api.scripting.ScriptObjectMirror parameters) throws Exception - Throws:
Exception
-
size
public int size() -
isEmpty
public boolean isEmpty() -
containsKey
- Specified by:
containsKeyin interfaceBindings- Specified by:
containsKeyin interfaceMap<String,Object>
-
containsValue
- Specified by:
containsValuein interfaceMap<String,Object>
-
get
-
put
-
remove
-
putAll
-
clear
public void clear() -
keySet
-
values
-
entrySet
-
getOrDefault
- Specified by:
getOrDefaultin interfaceMap<String,Object>
-
forEach
-
replaceAll
- Specified by:
replaceAllin interfaceMap<String,Object>
-
putIfAbsent
- Specified by:
putIfAbsentin interfaceMap<String,Object>
-
remove
-
replace
-
replace
-
computeIfAbsent
public Object computeIfAbsent(String key, Function<? super String, ? extends Object> mappingFunction) - Specified by:
computeIfAbsentin interfaceMap<String,Object>
-
computeIfPresent
public Object computeIfPresent(String key, BiFunction<? super String, ? super Object, ? extends Object> remappingFunction) - Specified by:
computeIfPresentin interfaceMap<String,Object>
-
compute
-
merge
-