| Modifier and Type | Class and Description |
|---|---|
static class |
AutomationMapper.ScriptBuilder |
| Modifier and Type | Field and Description |
|---|---|
protected Map<String,Supplier<Object>> |
automatic |
protected Bindings |
bindings |
protected OperationContext |
ctx |
protected Map<String,Object> |
wrapped |
| Constructor and Description |
|---|
AutomationMapper(OperationContext ctx) |
| Modifier and Type | Method and Description |
|---|---|
void |
clear() |
static CompiledScript |
compile(Compilable compilable) |
Object |
compute(String key,
BiFunction<? super String,? super Object,? extends Object> remappingFunction) |
Object |
computeIfAbsent(String key,
Function<? super String,? extends Object> mappingFunction) |
Object |
computeIfPresent(String key,
BiFunction<? super String,? super Object,? extends Object> remappingFunction) |
boolean |
containsKey(Object key) |
boolean |
containsValue(Object value) |
Set<Map.Entry<String,Object>> |
entrySet() |
Object |
executeOperation(String opId,
Object input,
jdk.nashorn.api.scripting.ScriptObjectMirror parameters) |
void |
flush() |
void |
forEach(BiConsumer<? super String,? super Object> action) |
Object |
get(Object key) |
Object |
getOrDefault(Object key,
Object defaultValue) |
boolean |
isEmpty() |
Set<String> |
keySet() |
Object |
merge(String key,
Object value,
BiFunction<? super Object,? super Object,? extends Object> remappingFunction) |
Object |
put(String key,
Object value) |
void |
putAll(Map<? extends String,? extends Object> m) |
Object |
putIfAbsent(String key,
Object value) |
Object |
remove(Object key) |
boolean |
remove(Object key,
Object value) |
Object |
replace(String key,
Object value) |
boolean |
replace(String key,
Object oldValue,
Object newValue) |
void |
replaceAll(BiFunction<? super String,? super Object,? extends Object> function) |
int |
size() |
Object |
unwrap(Object wrapped) |
Collection<Object> |
values() |
Object |
wrap(Object unwrapped) |
protected final OperationContext ctx
public AutomationMapper(OperationContext ctx)
public static CompiledScript compile(Compilable compilable)
public void flush()
public Object executeOperation(String opId, Object input, jdk.nashorn.api.scripting.ScriptObjectMirror parameters) throws Exception
Exceptionpublic boolean containsKey(Object key)
containsKey in interface Map<String,Object>containsKey in interface Bindingspublic boolean containsValue(Object value)
containsValue in interface Map<String,Object>public Object getOrDefault(Object key, Object defaultValue)
getOrDefault in interface Map<String,Object>public void forEach(BiConsumer<? super String,? super Object> action)
public void replaceAll(BiFunction<? super String,? super Object,? extends Object> function)
replaceAll in interface Map<String,Object>public Object putIfAbsent(String key, Object value)
putIfAbsent in interface Map<String,Object>public Object computeIfAbsent(String key, Function<? super String,? extends Object> mappingFunction)
computeIfAbsent in interface Map<String,Object>public Object computeIfPresent(String key, BiFunction<? super String,? super Object,? extends Object> remappingFunction)
computeIfPresent in interface Map<String,Object>public Object compute(String key, BiFunction<? super String,? super Object,? extends Object> remappingFunction)
Copyright © 2019 Nuxeo. All rights reserved.