Brooklyn

brooklyn.entity.basic.lifecycle
[Java] Interface ScriptRunner


@Deprecated
public interface ScriptRunner

deprecated:
in 0.6.0, see NaiveScriptRunner from software-base project


Method Summary
int execute(java.util.List script, java.lang.String summaryForLogging)

Runs a script and returns the result code

int execute(java.util.Map flags, java.util.List script, java.lang.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

 

Method Detail

execute

public int execute(java.util.List script, java.lang.String summaryForLogging)
Runs a script and returns the result code


execute

public int execute(java.util.Map flags, java.util.List script, java.lang.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


 

Brooklyn Multi-Cloud Application Management Platform
brooklyncentral.github.com. Apache License. © 2012.