Class AutomationMapper
- java.lang.Object
-
- org.nuxeo.automation.scripting.internals.AutomationMapper
-
-
Constructor Summary
Constructors Constructor Description AutomationMapper(OperationContext ctx)
-
Method Summary
-
-
-
Constructor Detail
-
AutomationMapper
public AutomationMapper(OperationContext ctx)
-
-
Method Detail
-
compile
public static CompiledScript compile(Compilable compilable)
-
flush
public void flush()
-
executeOperation
public Object executeOperation(String opId, Object input, ScriptObjectMirror parameters) throws Exception
- Throws:
Exception
-
containsKey
public boolean containsKey(Object key)
- Specified by:
containsKey
in interfaceBindings
- Specified by:
containsKey
in interfaceMap<String,Object>
-
containsValue
public boolean containsValue(Object value)
- Specified by:
containsValue
in interfaceMap<String,Object>
-
getOrDefault
public Object getOrDefault(Object key, Object defaultValue)
- Specified by:
getOrDefault
in interfaceMap<String,Object>
-
forEach
public void forEach(BiConsumer<? super String,? super Object> action)
-
replaceAll
public void replaceAll(BiFunction<? super String,? super Object,? extends Object> function)
- Specified by:
replaceAll
in interfaceMap<String,Object>
-
putIfAbsent
public Object putIfAbsent(String key, Object value)
- Specified by:
putIfAbsent
in interfaceMap<String,Object>
-
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
public Object compute(String key, BiFunction<? super String,? super Object,? extends Object> remappingFunction)
-
-