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