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

brooklyn.entity.basic.lifecycle.ScriptRunner Maven / Gradle / Ivy

There is a newer version: 0.7.0-M1
Show newest version
package brooklyn.entity.basic.lifecycle;

import java.util.List;
import java.util.Map;

public interface ScriptRunner {

    /** Runs a script and returns the result code */
    int execute(List script, String summaryForLogging);

    /** Runs a script and returns the result code, supporting flags including:
     *  out, err as output/error streams;
     *  logPrefix, prefix string to put in log output;
     *  env, map of environment vars to pass to shell environment */
    int execute(Map flags, List script, String summaryForLogging);

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy