public class IssueEventMailNotifierImpl extends Object implements IssueEventMailNotifier
Constructor and Description |
---|
IssueEventMailNotifierImpl(NotificationFilterManager notificationFilterManager,
NotificationSchemeManager notificationSchemeManager,
TemplateManager templateManager,
IssueMailQueueItemFactory issueMailQueueItemFactory,
com.atlassian.mail.queue.MailQueue mailQueue) |
Modifier and Type | Method and Description |
---|---|
Set<NotificationRecipient> |
generateNotifications(List<SchemeEntity> schemeEntities,
IssueEvent issueEvent,
Set<NotificationRecipient> initialRecipientsToSkip)
Creates and enqueues
MailQueueItem for the recipients that should be notified of the given IssueEvent. |
public IssueEventMailNotifierImpl(NotificationFilterManager notificationFilterManager, NotificationSchemeManager notificationSchemeManager, TemplateManager templateManager, IssueMailQueueItemFactory issueMailQueueItemFactory, com.atlassian.mail.queue.MailQueue mailQueue)
@Nonnull public Set<NotificationRecipient> generateNotifications(@Nonnull List<SchemeEntity> schemeEntities, @Nonnull IssueEvent issueEvent, @Nonnull Set<NotificationRecipient> initialRecipientsToSkip)
IssueEventMailNotifier
MailQueueItem
for the recipients that should be notified of the given IssueEvent.generateNotifications
in interface IssueEventMailNotifier
schemeEntities
- The SchemeEntity
objects that will be used to extract the set of recipients.issueEvent
- The IssueEvent
object for which the mail queue items will be generated.initialRecipientsToSkip
- A set of recipients that should not be notified for the given issue event.Copyright © 2002-2019 Atlassian. All Rights Reserved.