|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.atlassian.bamboo.events.DefaultBuildEventListener
com.atlassian.bamboo.rss.RssBuildFeedService
public class RssBuildFeedService
This class provides a RSS feed service.
| Field Summary |
|---|
| Fields inherited from interface com.atlassian.bamboo.event.BuildEventListener |
|---|
DISABLE_NOTIFICATION_SYSTEM_PROPERTY |
| Constructor Summary | |
|---|---|
RssBuildFeedService(VelocityEngine velocityEngine,
BuildManager buildManager)
Create the RSS feed service |
|
| Method Summary | |
|---|---|
void |
onBuildComplete(Build build,
BuildResults buildResults)
Update the feeds that care about this build. |
void |
onDeletedBuild(Build build)
Remove the rss feeds associated with the build about to get zapped. |
void |
onNewBuild(Build build)
Create the default build feeds |
void |
start()
Start the RRS feed service, ensuring all feed files are created if they do not already exist. |
void |
stop()
Stop does not need to do anything to shutdown the service. |
| Methods inherited from class com.atlassian.bamboo.events.DefaultBuildEventListener |
|---|
getBuildManager, getPreviousBuildState, getServerBaseUrl, onBuildStart, onDeletedBuildResult, setBuildManager, systemHasBeenConfigured |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public RssBuildFeedService(VelocityEngine velocityEngine,
BuildManager buildManager)
velocityEngine - buildManager - | Method Detail |
|---|
public void start()
throws Exception
start in interface StartableException - A generic failure
public void stop()
throws Exception
stop in interface StartableException - Nonepublic void onNewBuild(Build build)
onNewBuild in interface BuildEventListeneronNewBuild in class DefaultBuildEventListenerbuild - The build who's feeds we are generating
Exception - Failed to generate the feed
public void onBuildComplete(Build build,
BuildResults buildResults)
onBuildComplete in interface BuildEventListeneronBuildComplete in class DefaultBuildEventListenerbuild - The build that's been builtbuildResults - The build results
public void onDeletedBuild(Build build)
throws Exception
onDeletedBuild in interface BuildEventListeneronDeletedBuild in class DefaultBuildEventListenerbuild - The build about to be deleted
Exception - A generic failure
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||