|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sourceforge.cruisecontrol.builders.RakeScript
Rake script class. Contains all the details related to running a Rake based build.
Constructor Summary | |
RakeScript()
|
Method Summary | |
Commandline |
buildCommandline()
construct the command that we're going to execute. |
void |
consumeLine(java.lang.String line)
Ugly parsing of Rake output into some Elements. |
int |
getExitCode()
|
void |
setArgs(java.lang.String args)
|
void |
setBuildFile(java.lang.String buildFile)
|
void |
setBuildLogHeader(org.jdom.Element buildLogElement)
set the "header" for this part of the build log. |
void |
setExitCode(int exitCode)
exitCode is what is returned from running the script |
void |
setTarget(java.lang.String target)
|
void |
setWindows(boolean isWindows)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public RakeScript()
Method Detail |
public Commandline buildCommandline() throws CruiseControlException
buildCommandline
in interface Script
CruiseControlException
- on unquotable attributespublic void setBuildLogHeader(org.jdom.Element buildLogElement)
buildLogElement
- the element of the build log
public void setArgs(java.lang.String args)
args
- The args to set.public void setWindows(boolean isWindows)
isWindows
- The isWindows to set.public void setBuildFile(java.lang.String buildFile)
buildFile
- The buildFile to set.public void setTarget(java.lang.String target)
target
- The target to set.public int getExitCode()
getExitCode
in interface Script
public void setExitCode(int exitCode)
Script
setExitCode
in interface Script
exitCode
- The exitCode to set.public void consumeLine(java.lang.String line)
consumeLine
in interface StreamConsumer
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |