Package com.atlassian.bamboo.event
Interface BambooEventListener<T extends BambooEvent>
- All Known Subinterfaces:
HibernateEventListener<T>,InlineEventListener<T>
- All Known Implementing Classes:
AbstractNotificationEventListener,AfterXFailedNotificationListener,BuildCompletedNotificationListener,BuildErrorNotificationListener,BuildHungNotificationListener,BuildMissingCapableAgentNotificationListener,BuildQueueTimeoutNotificationListener,ChainCompletedNotificationListener,CommentNotificationListener,DependencyChainListener,RestoreMaven2ParticlesOnServerStartupEventListener,StageCompletedNotificationListener
public interface BambooEventListener<T extends BambooEvent>
A replacement for removed EventListener interface to handle legacy event listener plugin point.
As of Bamboo 10.0, event listeners should be simply created as components and use
EventListener annotation.-
Method Summary
Modifier and TypeMethodDescriptionList of specific event classes that this listener is interested in.voidhandleEvent(T event) Handle the event.
-
Method Details
-
handleEvent
Handle the event.- Parameters:
event- theBambooEventto handle
-
getHandledEventClasses
List of specific event classes that this listener is interested in.- Returns:
- the specific event classes handled by this listener
-