Class CommentNotificationListener
- java.lang.Object
-
- com.atlassian.bamboo.notification.AbstractNotificationEventListener<BuildCommentedEvent>
-
- com.atlassian.bamboo.notification.buildcommented.CommentNotificationListener
-
- All Implemented Interfaces:
HibernateEventListener,com.atlassian.event.EventListener
public class CommentNotificationListener extends AbstractNotificationEventListener<BuildCommentedEvent>
-
-
Field Summary
-
Fields inherited from class com.atlassian.bamboo.notification.AbstractNotificationEventListener
cachedPlanManager, eventClass, notificationDispatcher, notificationManager, notificationTypeFilter, resultsSummaryManager, systemNotificationService
-
-
Constructor Summary
Constructors Constructor Description CommentNotificationListener()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidhandleEvent(@NotNull BuildCommentedEvent event, @NotNull ImmutablePlan plan)Notification event listeners must implement this method to handle incoming events.voidsetNotificationFactory(NotificationFactory notificationFactory)-
Methods inherited from class com.atlassian.bamboo.notification.AbstractNotificationEventListener
fetchResultSummaryIfRequiredByNotificationRules, filterNotificationRules, getHandledEventClasses, getNotificationRules, getPlan, getSystemNotificationRules, handleEvent, setCachedPlanManager, setNotificationDispatcher, setNotificationManager, setResultsSummaryManager, setSystemNotificationService
-
-
-
-
Method Detail
-
handleEvent
public void handleEvent(@NotNull @NotNull BuildCommentedEvent event, @NotNull @NotNull ImmutablePlan plan)Description copied from class:AbstractNotificationEventListenerNotification event listeners must implement this method to handle incoming events.- Specified by:
handleEventin classAbstractNotificationEventListener<BuildCommentedEvent>- Parameters:
event- event to be handled (narrowed to effective class of event being handled)plan- plan which is related to event being handled
-
setNotificationFactory
public void setNotificationFactory(NotificationFactory notificationFactory)
-
-