|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jvnet.hudson.plugins.scriptler.util.ScriptHelper
public class ScriptHelper
| Constructor Summary | |
|---|---|
ScriptHelper()
|
|
| Method Summary | |
|---|---|
static java.lang.String |
doScript(java.lang.String node,
java.lang.String scriptTxt)
Runs the execution on a given slave. |
static Script |
getScript(java.lang.String scriptName,
boolean withSrc)
Loads the script information. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ScriptHelper()
| Method Detail |
|---|
public static Script getScript(java.lang.String scriptName,
boolean withSrc)
scriptName - the name of the scriptwithSrc - should the script sources be loaded too?
public static java.lang.String doScript(java.lang.String node,
java.lang.String scriptTxt)
throws java.io.IOException,
javax.servlet.ServletException
node - where to run the script.scriptTxt - the script (groovy) to be executed.
java.io.IOException
javax.servlet.ServletException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||