public class AutomationScriptingServiceImpl extends Object implements AutomationScriptingService
Constructor and Description |
---|
AutomationScriptingServiceImpl() |
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.
|
public String getJSWrapper() throws OperationException
getJSWrapper
in interface AutomationScriptingService
OperationException
public void run(InputStream in, CoreSession session) throws ScriptException, OperationException
AutomationScriptingService
run
in interface AutomationScriptingService
ScriptException
OperationException
public void run(String script, CoreSession session) throws ScriptException, OperationException
AutomationScriptingService
run
in interface AutomationScriptingService
ScriptException
OperationException
public <T> T getInterface(Class<T> scriptingOperationInterface, String script, CoreSession session) throws ScriptException, OperationException
getInterface
in interface AutomationScriptingService
ScriptException
OperationException
Copyright © 2015 Nuxeo SA. All rights reserved.