com.atlassian.bamboo.notification.buildcommented
Class CommentNotificationListener

java.lang.Object
  extended by com.atlassian.bamboo.notification.AbstractNotificationEventListener<BuildCommentedEvent>
      extended by 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
eventClass, notificationDispatcher, notificationManager, notificationTypeFilter, planManager, systemNotificationService
 
Constructor Summary
CommentNotificationListener()
           
 
Method Summary
 void handleEvent(BuildCommentedEvent event, Plan plan)
          Notification event listeners must implement this method to handle incoming events.
 void setNotificationFactory(NotificationFactory notificationFactory)
           
 void setResultsSummaryManager(ResultsSummaryManager resultsSummaryManager)
           
 
Methods inherited from class com.atlassian.bamboo.notification.AbstractNotificationEventListener
createNotificationComponent, filterNotificationRules, getHandledEventClasses, getNotificationRules, getPlan, getSystemNotificationRules, handleEvent, setNotificationDispatcher, setNotificationManager, setPlanManager, setSystemNotificationService, updateCommitter
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CommentNotificationListener

public CommentNotificationListener()
Method Detail

handleEvent

public void handleEvent(@NotNull
                        BuildCommentedEvent event,
                        @NotNull
                        Plan plan)
Description copied from class: AbstractNotificationEventListener
Notification event listeners must implement this method to handle incoming events.

Specified by:
handleEvent in class AbstractNotificationEventListener<BuildCommentedEvent>
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)

setNotificationFactory

public void setNotificationFactory(NotificationFactory notificationFactory)


Copyright © 2012 Atlassian. All Rights Reserved.