brooklyn.entity.basic.lifecycle.ScriptRunner Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of brooklyn-core Show documentation
Show all versions of brooklyn-core Show documentation
Entity implementation classes, events, and other core elements
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