com.atlassian.bamboo.brokenbuildtracker.notifications
Class ResponsibilitiesUpdatedNotificationListener

java.lang.Object
  extended by com.atlassian.bamboo.brokenbuildtracker.notifications.ResponsibilitiesUpdatedNotificationListener

public class ResponsibilitiesUpdatedNotificationListener
extends java.lang.Object


Constructor Summary
ResponsibilitiesUpdatedNotificationListener()
           
 
Method Summary
protected  ResultsSummary calculateAndUpdateResultSummary(UserResponsibilityEvent event, Plan plan)
           
protected  java.util.List<NotificationRecipient> calculateRecipients(UserResponsibilityEvent event, Plan plan, ResultsSummary resultsSummary)
           
protected  java.lang.Iterable<NotificationRule> getNotificationRules(Plan plan, UserResponsibilityEvent event)
           
 void onEvent(UserRespAddedEvent event)
           
 void onEvent(UserRespRemovedEvent event)
           
 void setBambooUserManager(BambooUserManager bambooUserManager)
           
 void setNotificationDispatcher(NotificationDispatcher notificationDispatcher)
           
 void setNotificationManager(NotificationManager notificationManager)
           
 void setPlanManager(PlanManager planManager)
           
 void setResultsSummaryManager(ResultsSummaryManager resultsSummaryManager)
           
 void setTemplateRenderer(TemplateRenderer templateRenderer)
           
 void setTrackingEntryManager(TrackingEntryManager trackingEntryManager)
           
 void setTransactionTemplate(com.atlassian.sal.api.transaction.TransactionTemplate transactionTemplate)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ResponsibilitiesUpdatedNotificationListener

public ResponsibilitiesUpdatedNotificationListener()
Method Detail

onEvent

@EventListener
public void onEvent(UserRespAddedEvent event)

onEvent

@EventListener
public void onEvent(UserRespRemovedEvent event)

calculateRecipients

protected java.util.List<NotificationRecipient> calculateRecipients(@NotNull
                                                                    UserResponsibilityEvent event,
                                                                    @NotNull
                                                                    Plan plan,
                                                                    @Nullable
                                                                    ResultsSummary resultsSummary)

getNotificationRules

protected java.lang.Iterable<NotificationRule> getNotificationRules(@NotNull
                                                                    Plan plan,
                                                                    @NotNull
                                                                    UserResponsibilityEvent event)

calculateAndUpdateResultSummary

protected ResultsSummary calculateAndUpdateResultSummary(UserResponsibilityEvent event,
                                                         @NotNull
                                                         Plan plan)

setNotificationDispatcher

public void setNotificationDispatcher(NotificationDispatcher notificationDispatcher)

setPlanManager

public void setPlanManager(PlanManager planManager)

setTransactionTemplate

public void setTransactionTemplate(com.atlassian.sal.api.transaction.TransactionTemplate transactionTemplate)

setBambooUserManager

public void setBambooUserManager(BambooUserManager bambooUserManager)

setTemplateRenderer

public void setTemplateRenderer(TemplateRenderer templateRenderer)

setNotificationManager

public void setNotificationManager(NotificationManager notificationManager)

setResultsSummaryManager

public void setResultsSummaryManager(ResultsSummaryManager resultsSummaryManager)

setTrackingEntryManager

public void setTrackingEntryManager(TrackingEntryManager trackingEntryManager)


Copyright © 2013 Atlassian Software Systems Pty Ltd. All Rights Reserved.