All Downloads are FREE. Search and download functionalities are using the official Maven repository.

de.saumya.mojo.ruby.script.Launcher Maven / Gradle / Ivy

There is a newer version: 3.0.5
Show newest version
/**
 * 
 */
package de.saumya.mojo.ruby.script;

import java.io.File;
import java.io.IOException;
import java.io.OutputStream;
import java.util.List;

interface Launcher {

    public abstract void execute(final List args)
            throws ScriptException, IOException;

    public abstract void execute(final List args, final File outputFile)
            throws ScriptException, IOException;

    public abstract void execute(final List args, final OutputStream outputStream)
            throws ScriptException, IOException;

    public abstract void executeIn(final File launchDirectory,
            final List args) throws ScriptException, IOException;

    public abstract void executeIn(final File launchDirectory,
            final List args, final File outputFile)
            throws ScriptException, IOException;

    public abstract void executeIn(final File launchDirectory, final List args,
            final OutputStream outputStream) throws ScriptException, IOException;

    public abstract void executeScript(final String script,
            final List args) throws ScriptException, IOException;

    public abstract void executeScript(final String script,
            final List args, final File outputFile)
            throws ScriptException, IOException;

    public abstract void executeScript(final String script,
            final List args, final OutputStream outputStream)
            throws ScriptException, IOException;

    public abstract void executeScript(final File launchDirectory,
            final String script, final List args)
            throws ScriptException, IOException;

    public abstract void executeScript(final File launchDirectory,
            final String script, final List args,
            final File outputFile) throws ScriptException, IOException;

    public abstract void executeScript(final File launchDirectory,
            final String script, final List args,
            final OutputStream outputStream) throws ScriptException, IOException;
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy