|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sourceforge.cruisecontrol.builders.Maven2Script
Maven2 script class based on the Maven builder class from
Eric Pugh.
Contains all the details related to running a Maven based build.
| Constructor Summary | |
Maven2Script(Maven2Builder maven2Builder,
org.jdom.Element buildLogElement,
java.lang.String goals,
Progress progress)
|
|
| Method Summary | |
Commandline |
buildCommandline()
Construct the command that we're going to execute. |
void |
consumeLine(java.lang.String line)
Analyze the output of the mvn command. |
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 |
setMvnScript(java.lang.String mvnScript)
|
void |
setPomFile(java.lang.String pomFile)
|
void |
setProperties(java.util.List properties)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public Maven2Script(Maven2Builder maven2Builder,
org.jdom.Element buildLogElement,
java.lang.String goals,
Progress progress)
maven2Builder - the maven2builder executing this scriptbuildLogElement - Log to store result of the execution for CCgoals - the goalset to executeprogress - used to update progress| 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 setMvnScript(java.lang.String mvnScript)
mvnScript - The mavenScript to set.public void setPomFile(java.lang.String pomFile)
pomFile - The projectFile to set.public void setProperties(java.util.List properties)
properties - The properties 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 | |||||||||