|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sourceforge.cruisecontrol.builders.MavenScript
Maven script class. Contains all the details related to running a Maven based build.
Constructor Summary | |
MavenScript()
|
Method Summary | |
Commandline |
buildCommandline()
construct the command that we're going to execute. |
void |
consumeLine(java.lang.String line)
Ugly parsing of Maven output into some Elements. |
protected void |
flushCurrentElement()
|
int |
getExitCode()
|
void |
setBuildLogElement(org.jdom.Element buildLogElement)
|
void |
setBuildProperties(java.util.Map buildProperties)
|
void |
setExitCode(int exitCode)
exitCode is what is returned from running the script |
void |
setGoalset(java.lang.String goalset)
|
void |
setMavenScript(java.lang.String mavenScript)
|
void |
setProjectFile(java.lang.String projectFile)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public MavenScript()
Method Detail |
public Commandline buildCommandline() throws CruiseControlException
buildCommandline
in interface Script
CruiseControlException
public void consumeLine(java.lang.String line)
consumeLine
in interface StreamConsumer
protected void flushCurrentElement()
public void setBuildProperties(java.util.Map buildProperties)
buildProperties
- The buildProperties to set.public void setGoalset(java.lang.String goalset)
goalset
- The goalset to set.public void setMavenScript(java.lang.String mavenScript)
mavenScript
- The mavenScript to set.public void setProjectFile(java.lang.String projectFile)
projectFile
- The projectFile 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 setBuildLogElement(org.jdom.Element buildLogElement)
buildLogElement
- The buildLogElement to set.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |