Class ResponsibilitiesUpdatedNotificationListener
java.lang.Object
com.atlassian.bamboo.brokenbuildtracker.notifications.ResponsibilitiesUpdatedNotificationListener
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected ResultsSummary
calculateAndUpdateResultSummary
(UserResponsibilityEvent event, @NotNull ImmutablePlan plan) protected List<NotificationRecipient>
calculateRecipients
(@NotNull UserResponsibilityEvent event, @NotNull ImmutablePlan plan, @Nullable ResultsSummary resultsSummary) protected Iterable<NotificationRule>
getNotificationRules
(@NotNull ImmutablePlan plan, @NotNull UserResponsibilityEvent event) void
onEvent
(UserRespAddedEvent event) void
onEvent
(UserRespRemovedEvent event)
-
Constructor Details
-
ResponsibilitiesUpdatedNotificationListener
public ResponsibilitiesUpdatedNotificationListener()
-
-
Method Details
-
onEvent
-
onEvent
-
calculateRecipients
protected List<NotificationRecipient> calculateRecipients(@NotNull @NotNull UserResponsibilityEvent event, @NotNull @NotNull ImmutablePlan plan, @Nullable @Nullable ResultsSummary resultsSummary) -
getNotificationRules
protected Iterable<NotificationRule> getNotificationRules(@NotNull @NotNull ImmutablePlan plan, @NotNull @NotNull UserResponsibilityEvent event) -
calculateAndUpdateResultSummary
protected ResultsSummary calculateAndUpdateResultSummary(UserResponsibilityEvent event, @NotNull @NotNull ImmutablePlan plan)
-