Class BuildErrorNotificationListener
java.lang.Object
com.atlassian.bamboo.notification.AbstractNotificationEventListener<BambooErrorEvent>
com.atlassian.bamboo.notification.builderror.BuildErrorNotificationListener
- All Implemented Interfaces:
BambooEventListener<BambooErrorEvent>
,HibernateEventListener<BambooErrorEvent>
public class BuildErrorNotificationListener
extends AbstractNotificationEventListener<BambooErrorEvent>
-
Field Summary
Fields inherited from class com.atlassian.bamboo.notification.AbstractNotificationEventListener
cachedPlanManager, eventClass, notificationDispatcher, notificationManager, notificationTypeFilter, resultsSummaryManager, systemNotificationService
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
handleEvent
(@NotNull BambooErrorEvent event, @NotNull ImmutablePlan plan) Notification event listeners must implement this method to handle incoming events.Methods inherited from class com.atlassian.bamboo.notification.AbstractNotificationEventListener
fetchResultSummaryIfRequiredByNotificationRules, filterNotificationRules, getHandledEventClasses, getNotificationRules, getPlan, getSystemNotificationRules, handleEvent, setCachedPlanManager, setNotificationDispatcher, setNotificationManager, setResultsSummaryManager, setSystemNotificationService
-
Constructor Details
-
BuildErrorNotificationListener
public BuildErrorNotificationListener()
-
-
Method Details
-
handleEvent
public void handleEvent(@NotNull @NotNull BambooErrorEvent 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<BambooErrorEvent>
- Parameters:
event
- event to be handled (narrowed to effective class of event being handled)plan
- plan which is related to event being handled
-