|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sourceforge.cruisecontrol.publishers.RSSPublisher
Publisher Plugin which publishes the most recent build information to an RSS (Really Simple Syndication) Feed. Copyright (c) 2005 Hewlett-Packard Development Company, L.P.
Constructor Summary | |
RSSPublisher()
|
Method Summary | |
static CruiseControlFeed |
getRSSFeed(java.io.File publishToFile)
Static method that allows multiple project RSSPublishers to share a single RSSFeed instance. |
void |
publish(org.jdom.Element cruisecontrolLog)
Define the publishing. |
protected void |
publishFeed()
|
void |
setBuildResultsURL(java.lang.String buildResultsURL)
Set the build results URL. |
void |
setChannelLinkURL(java.lang.String channelLinkURL)
Set the channel link URL. |
void |
setFile(java.lang.String fileName)
Set the name of the file to which the RSS feed should be pushed. |
void |
setMaxLength(int max)
The maximum number of entries to include in the RSS feed. |
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 RSSPublisher()
Method Detail |
public static CruiseControlFeed getRSSFeed(java.io.File publishToFile)
public void publish(org.jdom.Element cruisecontrolLog) throws CruiseControlException
publish
in interface Publisher
cruisecontrolLog
- JDOM Element representation of the main cruisecontrol build log
CruiseControlException
protected void publishFeed() throws CruiseControlException
CruiseControlException
public void validate() throws CruiseControlException
validate
in interface Publisher
CruiseControlException
- if there was a configuration error.public void setFile(java.lang.String fileName)
public void setBuildResultsURL(java.lang.String buildResultsURL)
public void setChannelLinkURL(java.lang.String channelLinkURL)
public void setMaxLength(int max)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |