com.atlassian.bamboo.brokenbuildtracker.notifications
Class ResponsibilitiesUpdatedNotificationListener

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

public class ResponsibilitiesUpdatedNotificationListener
extends Object


Constructor Summary
ResponsibilitiesUpdatedNotificationListener()
           
 
Method Summary
protected  ResultsSummary calculateAndUpdateResultSummary(UserResponsibilityEvent event, Plan plan)
           
protected  List<NotificationRecipient> calculateRecipients(UserResponsibilityEvent event, Plan plan, ResultsSummary resultsSummary)
           
protected  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 List<NotificationRecipient> calculateRecipients(@NotNull
                                                          UserResponsibilityEvent event,
                                                          @NotNull
                                                          Plan plan,
                                                          @Nullable
                                                          ResultsSummary resultsSummary)

getNotificationRules

protected 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 © 2015 Atlassian Software Systems Pty Ltd. All rights reserved.