|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sourceforge.cruisecontrol.publishers.ClearCaseBaselinePublisher
Creates a ClearCase UCM baseline for the specified view's integration stream. Uses the value of the CruiseControl generated ${label} property as well as the value of the baselineprefix attribute (if specified) to name the baseline. A baseline is only created if UCM modifications are recorded in the build log. By default an incremental baseline is created although a full baseline can be created too (incremental baselines are recommended for Continuous Integration).
Constructor Summary | |
ClearCaseBaselinePublisher()
|
Method Summary | |
java.util.List |
getActivities(org.jdom.Element log)
extract the list of UCM modifications from the CruiseControl log (assumes the UCM sourcecontrol was used) |
java.lang.String |
getBaselineprefix()
Get baselineprefix flag status |
java.lang.String |
getComponent()
Get the component flag status |
boolean |
getFull()
Get full flag status |
java.lang.String |
getViewtag()
Get viewtag flag status |
static void |
main(java.lang.String[] args)
for testing |
void |
publish(org.jdom.Element log)
Define the publishing. |
void |
setBaselineprefix(java.lang.String baselineprefix)
Set the baselineprefix flag |
void |
setComponent(java.lang.String comp)
Set the component to generate the baseline for |
void |
setFull(boolean full)
Set the full flag |
void |
setViewtag(java.lang.String viewtag)
Set the viewtag status flag |
boolean |
shouldPublish(org.jdom.Element log)
determines if the publish should take place |
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 ClearCaseBaselinePublisher()
Method Detail |
public void setBaselineprefix(java.lang.String baselineprefix)
baselineprefix
- the status to set the flag topublic java.lang.String getBaselineprefix()
public void setViewtag(java.lang.String viewtag)
viewtag
- the status to set the flag topublic java.lang.String getViewtag()
public void setFull(boolean full)
full
- the status to set the flag topublic boolean getFull()
public void setComponent(java.lang.String comp)
comp
- the name of the componentpublic java.lang.String getComponent()
public void validate() throws CruiseControlException
Publisher
validate
in interface Publisher
CruiseControlException
- if there was a configuration error.public java.util.List getActivities(org.jdom.Element log)
log
- The Cruise Control log (as a JDOM element).
List
of UCM activitiespublic boolean shouldPublish(org.jdom.Element log)
log
- the CruiseControl log (as a JDOM element).
public void publish(org.jdom.Element log) throws CruiseControlException
Publisher
publish
in interface Publisher
log
- JDOM Element representation of the main cruisecontrol build log
CruiseControlException
public static void main(java.lang.String[] args)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |