public interface AutomationScriptingService
Modifier and Type | Method and Description |
---|---|
<T> T |
getInterface(Class<T> scriptingOperationInterface,
String script,
CoreSession session) |
String |
getJSWrapper() |
void |
run(InputStream in,
CoreSession session)
Run Automation Scripting with given 'JavaScript' InputStream and CoreSession.
|
void |
run(String script,
CoreSession session)
Run Automation Scripting for a given 'JavaScript' script and CoreSession.
|
void |
setOperationContext(ScriptOperationContext ctx) |
void setOperationContext(ScriptOperationContext ctx)
String getJSWrapper() throws OperationException
OperationException
void run(InputStream in, CoreSession session) throws ScriptException, OperationException
in
- session
- ScriptException
OperationException
void run(String script, CoreSession session) throws ScriptException, OperationException
script
- session
- ScriptException
OperationException
<T> T getInterface(Class<T> scriptingOperationInterface, String script, CoreSession session) throws ScriptException, OperationException
T
- scriptingOperationInterface
- script
- session
- ScriptException
OperationException
Copyright © 2015 Nuxeo SA. All rights reserved.