|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface BuildEventNotifier
This manages BuildEventListeners.
| 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 BuildEventListeners that a build build has completed. |
void |
notifyListenersOfBuildResultsRemoval(Build build,
long buildNumber)
Notify the registered BuildEventListeners that a build build has completed. |
void |
notifyListenersOfBuildStart(Build build,
long buildNumber)
Notify the registered BuildEventListeners that a build has started to be built. |
void |
notifyListenersOfDeletedBuild(Build build)
Notify the registered BuildEventListeners that an existing build has been deleted. |
void |
notifyListenersOfNewBuild(Build build)
Notify the registered BuildEventListeners 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)
BuildEventListeners that a new build has been added.
build - The new build
void notifyListenersOfDeletedBuild(Build build)
throws Exception
BuildEventListeners 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
BuildEventListeners 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
BuildEventListeners that a build build has completed.
build - The build being builtbuildResults - The results of the build
Exception
void notifyListenersOfBuildResultsRemoval(Build build,
long buildNumber)
BuildEventListeners that a build build has completed.
build - The build being builtbuildNumber - The number of the build to delete
void restart()
throws Exception
Exception - A generic failure
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||