|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sourceforge.cruisecontrol.bootstrappers.ExecBootstrapper
Constructor Summary | |
ExecBootstrapper()
|
Method Summary | |
void |
bootstrap()
Perform the bootstrapping. |
void |
setArgs(java.lang.String args)
Sets the arguments for the command to execute |
void |
setCommand(java.lang.String cmd)
Sets the command to execute |
void |
setErrorStr(java.lang.String errStr)
Sets the error string to search for in the command output |
void |
setTimeout(long timeout)
Sets build timeout in seconds. |
void |
setWorkingDir(java.lang.String dir)
Sets the working directory where the command is to be executed |
void |
validate()
Called after the configuration is read to make sure that all the mandatory parameters were specified.. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ExecBootstrapper()
Method Detail |
public void validate() throws CruiseControlException
validate
in interface Bootstrapper
CruiseControlException
- if there was a configuration error.public void bootstrap() throws CruiseControlException
Bootstrapper
bootstrap
in interface Bootstrapper
CruiseControlException
- if bootstrap failspublic void setTimeout(long timeout)
timeout
- long build timeoutpublic void setCommand(java.lang.String cmd)
cmd
- the command to executepublic void setArgs(java.lang.String args)
args
- arguments for the command to executepublic void setErrorStr(java.lang.String errStr)
errStr
- the error string to search for in the command outputpublic void setWorkingDir(java.lang.String dir)
dir
- the directory where the command is to be executed
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |