Package de.saumya.mojo.ruby.script
Class AbstractLauncher
java.lang.Object
de.saumya.mojo.ruby.script.AbstractLauncher
- All Implemented Interfaces:
Launcher
- Direct Known Subclasses:
AntLauncher,EmbeddedLauncher
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract voidprotected abstract voiddoExecute(File launchDirectory, List<String> args, OutputStream outputStream) voidvoidvoidexecute(List<String> args, OutputStream outputStream) voidvoidvoidexecuteIn(File launchDirectory, List<String> args, OutputStream outputStream) voidexecuteScript(File launchDirectory, String script, List<String> args) voidexecuteScript(String script, List<String> args) voidexecuteScript(String script, List<String> args, File outputFile) voidexecuteScript(String script, List<String> args, OutputStream outputStream) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface de.saumya.mojo.ruby.script.Launcher
executeScript, executeScript
-
Constructor Details
-
AbstractLauncher
AbstractLauncher()
-
-
Method Details
-
doExecute
protected abstract void doExecute(File launchDirectory, List<String> args, File outputFile) throws ScriptException, IOException - Throws:
ScriptExceptionIOException
-
doExecute
protected abstract void doExecute(File launchDirectory, List<String> args, OutputStream outputStream) throws ScriptException, IOException - Throws:
ScriptExceptionIOException
-
execute
- Specified by:
executein interfaceLauncher- Throws:
ScriptExceptionIOException
-
execute
- Specified by:
executein interfaceLauncher- Throws:
ScriptExceptionIOException
-
execute
public void execute(List<String> args, OutputStream outputStream) throws ScriptException, IOException - Specified by:
executein interfaceLauncher- Throws:
ScriptExceptionIOException
-
executeIn
- Specified by:
executeInin interfaceLauncher- Throws:
ScriptExceptionIOException
-
executeIn
public void executeIn(File launchDirectory, List<String> args, File outputFile) throws ScriptException, IOException - Specified by:
executeInin interfaceLauncher- Throws:
ScriptExceptionIOException
-
executeIn
public void executeIn(File launchDirectory, List<String> args, OutputStream outputStream) throws ScriptException, IOException - Specified by:
executeInin interfaceLauncher- Throws:
ScriptExceptionIOException
-
executeScript
- Specified by:
executeScriptin interfaceLauncher- Throws:
ScriptExceptionIOException
-
executeScript
public void executeScript(String script, List<String> args, File outputFile) throws ScriptException, IOException - Specified by:
executeScriptin interfaceLauncher- Throws:
ScriptExceptionIOException
-
executeScript
public void executeScript(String script, List<String> args, OutputStream outputStream) throws ScriptException, IOException - Specified by:
executeScriptin interfaceLauncher- Throws:
ScriptExceptionIOException
-
executeScript
public void executeScript(File launchDirectory, String script, List<String> args) throws ScriptException, IOException - Specified by:
executeScriptin interfaceLauncher- Throws:
ScriptExceptionIOException
-