|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sourceforge.cruisecontrol.builders.ScriptRunner
Takes a script and runs it. Monitors how long the script takes to run, and returns whether the script completed or not.
Nested Class Summary | |
static class |
ScriptRunner.AsyncKiller
|
Field Summary | |
static long |
NO_TIMEOUT
|
Constructor Summary | |
ScriptRunner()
|
Method Summary | |
boolean |
runScript(java.io.File workingDir,
Script script,
long timeout)
build and return the results via xml. debug status can be determined from log4j category once we get all the logging in place. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final long NO_TIMEOUT
Constructor Detail |
public ScriptRunner()
Method Detail |
public boolean runScript(java.io.File workingDir, Script script, long timeout) throws CruiseControlException
workingDir
- The directory to run the script from.script
- The details on the script to be run.
CruiseControlException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |