|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sourceforge.cruisecontrol.publishers.XSLTLogPublisher
Publisher Plugin which performs an xslt transform of the jdom Element representation of the build log to an output file of choice.
| Constructor Summary | |
XSLTLogPublisher()
|
|
| Method Summary | |
void |
publish(org.jdom.Element cruisecontrolLog)
Perform the log transform and publish the results. |
void |
setDirectory(java.lang.String directory)
Directory where the transformed log will is to be written |
void |
setOutFileName(java.lang.String name)
Name of the output file where the transformed log contents is to be written. |
void |
setPublishOnFail(boolean pof)
If true then publish the log contents even if the build failed. |
void |
setXsltFile(java.lang.String fileName)
Full path to the xslt file used in the transform |
void |
validate()
Called after the configuration is read to make sure that all the mandatory parameters were specified.. |
protected void |
writeFile(org.jdom.Element cruisecontrolLog,
java.lang.String path)
Performs the transform of the cruisecontrolLog, writing the results to the locations specified by the path parameter |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public XSLTLogPublisher()
| Method Detail |
public void setXsltFile(java.lang.String fileName)
fileName - (required)public void setOutFileName(java.lang.String name)
name - public void setDirectory(java.lang.String directory)
directory - public void setPublishOnFail(boolean pof)
pof -
public void validate()
throws CruiseControlException
validate in interface PublisherCruiseControlException - if there was a configuration error.
public void publish(org.jdom.Element cruisecontrolLog)
throws CruiseControlException
publish in interface PublishercruisecontrolLog - JDOM Element representation of the main cruisecontrol build log
CruiseControlException
protected void writeFile(org.jdom.Element cruisecontrolLog,
java.lang.String path)
throws CruiseControlException
cruisecontrolLog - path -
CruiseControlException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||