|
Brooklyn | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | METHOD | DETAIL: FIELD | METHOD |
brooklyn.entity.basic.lifecycle.NaiveScriptRunnerbrooklyn.entity.basic.lifecycle.ScriptRunner
@SuppressWarnings("deprecation") public interface NaiveScriptRunner extends ScriptRunner
Marks something which can run scripts. Called "Naive" because it hides too much of the complexity, about script execution and other ssh-related tasks (put, etc). The SshTasks approach seems better.
Not gone so far as deprecating (yet, in 0.6.0) although we might. Feedback welcome.
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 |
Methods inherited from interface ScriptRunner | |
---|---|
execute, execute |
Method Detail |
---|
public int execute(java.util.List script, java.lang.String summaryForLogging)
public int execute(java.util.Map flags, java.util.List script, java.lang.String summaryForLogging)
Brooklyn Multi-Cloud Application Management Platform
brooklyncentral.github.com. Apache License. © 2012.