|
||||||||||
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 Startable
Exception
- A generic failurepublic void stop() throws Exception
stop
in interface Startable
Exception
- Nonepublic void onNewBuild(Build build)
onNewBuild
in interface BuildEventListener
onNewBuild
in class DefaultBuildEventListener
build
- The build who's feeds we are generating
Exception
- Failed to generate the feedpublic void onBuildComplete(Build build, BuildResults buildResults)
onBuildComplete
in interface BuildEventListener
onBuildComplete
in class DefaultBuildEventListener
build
- The build that's been builtbuildResults
- The build resultspublic void onDeletedBuild(Build build) throws Exception
onDeletedBuild
in interface BuildEventListener
onDeletedBuild
in class DefaultBuildEventListener
build
- 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 |