|
||||||||||
| 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(org.jdom.Element buildLogElement,
Progress progress)
|
|
| 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 |
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(org.jdom.Element buildLogElement,
Progress progress)
buildLogElement - Global log to produce, passed in from MavenBuilder.progress - progress callback object, may be null.| Method Detail |
public Commandline buildCommandline()
throws CruiseControlException
buildCommandline in interface ScriptCruiseControlExceptionpublic void consumeLine(java.lang.String line)
consumeLine in interface StreamConsumerprotected 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 Scriptpublic void setExitCode(int exitCode)
Script
setExitCode in interface ScriptexitCode - The exitCode to set.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||