|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface BuildEventNotifier
This manages BuildEventListener
s.
Method Summary | |
---|---|
void |
addBuildEventListener(BuildEventListener listener)
Register an interest in knowing when a build is aded, built, or deleted. |
void |
notifyListenersOfBuildComplete(Build build,
BuildResults buildResults)
Notify the registered BuildEventListener s that a build build has completed. |
void |
notifyListenersOfBuildResultsRemoval(Build build,
long buildNumber)
Notify the registered BuildEventListener s that a build build has completed. |
void |
notifyListenersOfBuildStart(Build build,
long buildNumber)
Notify the registered BuildEventListener s that a build has started to be built. |
void |
notifyListenersOfDeletedBuild(Build build)
Notify the registered BuildEventListener s that an existing build has been deleted. |
void |
notifyListenersOfNewBuild(Build build)
Notify the registered BuildEventListener s that a new build has been added. |
void |
restart()
Restart this component to reflect and configuration changes. |
Methods inherited from interface com.atlassian.bamboo.container.Startable |
---|
start, stop |
Method Detail |
---|
void addBuildEventListener(BuildEventListener listener)
listener
- The listener that will be notified when something interesting happens to a build.void notifyListenersOfNewBuild(Build build)
BuildEventListener
s that a new build has been added.
build
- The new buildvoid notifyListenersOfDeletedBuild(Build build) throws Exception
BuildEventListener
s that an existing build has been deleted.
build
- The build that's about to get zapped
Exception
void notifyListenersOfBuildStart(Build build, long buildNumber) throws Exception
BuildEventListener
s that a build has started to be built.
build
- The build being builtbuildNumber
- The number of the new build.
Exception
void notifyListenersOfBuildComplete(Build build, BuildResults buildResults) throws Exception
BuildEventListener
s that a build build has completed.
build
- The build being builtbuildResults
- The results of the build
Exception
void notifyListenersOfBuildResultsRemoval(Build build, long buildNumber)
BuildEventListener
s that a build build has completed.
build
- The build being builtbuildNumber
- The number of the build to deletevoid restart() throws Exception
Exception
- A generic failure
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |