public class ResponsibilitiesUpdatedNotificationListener extends Object
Constructor and Description |
---|
ResponsibilitiesUpdatedNotificationListener() |
Modifier and Type | Method and Description |
---|---|
protected ResultsSummary |
calculateAndUpdateResultSummary(UserResponsibilityEvent event,
ImmutablePlan plan) |
protected List<NotificationRecipient> |
calculateRecipients(UserResponsibilityEvent event,
ImmutablePlan plan,
ResultsSummary resultsSummary) |
protected Iterable<NotificationRule> |
getNotificationRules(ImmutablePlan plan,
UserResponsibilityEvent event) |
void |
onEvent(UserRespAddedEvent event) |
void |
onEvent(UserRespRemovedEvent event) |
public ResponsibilitiesUpdatedNotificationListener()
@EventListener public void onEvent(UserRespAddedEvent event)
@EventListener public void onEvent(UserRespRemovedEvent event)
protected List<NotificationRecipient> calculateRecipients(@NotNull UserResponsibilityEvent event, @NotNull ImmutablePlan plan, @Nullable ResultsSummary resultsSummary)
protected Iterable<NotificationRule> getNotificationRules(@NotNull ImmutablePlan plan, @NotNull UserResponsibilityEvent event)
protected ResultsSummary calculateAndUpdateResultSummary(UserResponsibilityEvent event, @NotNull ImmutablePlan plan)
Copyright © 2017 Atlassian Software Systems Pty Ltd. All rights reserved.