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
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
clear()
static CompiledScript
compile
(Compilable compilable) computeIfAbsent
(String key, Function<? super String, ? extends Object> mappingFunction) computeIfPresent
(String key, BiFunction<? super String, ? super Object, ? extends Object> remappingFunction) boolean
containsKey
(Object key) boolean
containsValue
(Object value) entrySet()
executeOperation
(String opId, Object input, org.openjdk.nashorn.api.scripting.ScriptObjectMirror parameters) void
flush()
void
forEach
(BiConsumer<? super String, ? super Object> action) getOrDefault
(Object key, Object defaultValue) boolean
isEmpty()
keySet()
merge
(String key, Object value, BiFunction<? super Object, ? super Object, ? extends Object> remappingFunction) void
putIfAbsent
(String key, Object value) boolean
boolean
void
replaceAll
(BiFunction<? super String, ? super Object, ? extends Object> function) int
size()
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:
containsKey
in interfaceBindings
- Specified by:
containsKey
in interfaceMap<String,
Object>
-
containsValue
- Specified by:
containsValue
in interfaceMap<String,
Object>
-
get
-
put
-
remove
-
putAll
-
clear
public void clear() -
keySet
-
values
-
entrySet
-
getOrDefault
- Specified by:
getOrDefault
in interfaceMap<String,
Object>
-
forEach
-
replaceAll
- Specified by:
replaceAll
in interfaceMap<String,
Object>
-
putIfAbsent
- Specified by:
putIfAbsent
in interfaceMap<String,
Object>
-
remove
-
replace
-
replace
-
computeIfAbsent
public Object computeIfAbsent(String key, Function<? super String, ? extends Object> mappingFunction) - Specified by:
computeIfAbsent
in interfaceMap<String,
Object>
-
computeIfPresent
public Object computeIfPresent(String key, BiFunction<? super String, ? super Object, ? extends Object> remappingFunction) - Specified by:
computeIfPresent
in interfaceMap<String,
Object>
-
compute
-
merge
-