Modifier and Type | Method and Description |
---|---|
Iterable<NotificationRecipient> |
ReferenceNotificationFilter.addRecipient(NotificationFilterContext context,
Iterable<NotificationRecipient> intendedRecipients) |
Modifier and Type | Method and Description |
---|---|
boolean |
ReferenceNotificationFilter.removeRecipient(NotificationRecipient recipient,
NotificationFilterContext context) |
Modifier and Type | Method and Description |
---|---|
Iterable<NotificationRecipient> |
ReferenceNotificationFilter.addRecipient(NotificationFilterContext context,
Iterable<NotificationRecipient> intendedRecipients) |
Modifier and Type | Method and Description |
---|---|
Set<NotificationRecipient> |
MentionIssueEvent.getCurrentRecipients() |
Constructor and Description |
---|
MentionIssueCommentEvent(Issue issue,
ApplicationUser fromUser,
Set<ApplicationUser> toUsers,
String mentionText,
String fieldId,
Set<NotificationRecipient> currentRecipients,
Comment comment) |
MentionIssueEvent(Issue issue,
ApplicationUser fromUser,
Set<ApplicationUser> toUsers,
String mentionText,
String fieldId,
Set<NotificationRecipient> currentRecipients) |
Modifier and Type | Method and Description |
---|---|
Set<NotificationRecipient> |
IssueEventMailNotifier.generateNotifications(List<SchemeEntity> schemeEntities,
IssueEvent issueEvent,
Set<NotificationRecipient> recipientsToSkip)
Creates and enqueues
MailQueueItem for the recipients that should be notified of the given IssueEvent. |
Set<NotificationRecipient> |
IssueEventMailNotifierImpl.generateNotifications(List<SchemeEntity> schemeEntities,
IssueEvent issueEvent,
Set<NotificationRecipient> initialRecipientsToSkip) |
Modifier and Type | Method and Description |
---|---|
Set<NotificationRecipient> |
IssueEventMailNotifier.generateNotifications(List<SchemeEntity> schemeEntities,
IssueEvent issueEvent,
Set<NotificationRecipient> recipientsToSkip)
Creates and enqueues
MailQueueItem for the recipients that should be notified of the given IssueEvent. |
Set<NotificationRecipient> |
IssueEventMailNotifierImpl.generateNotifications(List<SchemeEntity> schemeEntities,
IssueEvent issueEvent,
Set<NotificationRecipient> initialRecipientsToSkip) |
Modifier and Type | Method and Description |
---|---|
Set<NotificationRecipient> |
IssueMailQueueItem.getRecipientList()
Used in testing only
|
Modifier and Type | Method and Description |
---|---|
void |
MailServiceImpl.sendRenderedMail(ApplicationUser replyTo,
NotificationRecipient recipient,
String subjectTemplatePath,
String bodyTemplatePath,
Map<String,Object> context) |
void |
MailService.sendRenderedMail(ApplicationUser replyTo,
NotificationRecipient recipient,
String subjectTemplatePath,
String bodyTemplatePath,
Map<String,Object> context)
Sends a Velocity-rendered email by adding the template and context to a
MailQueueItem and adding that item to the queue. |
Modifier and Type | Method and Description |
---|---|
IssueMailQueueItem |
IssueMailQueueItemFactory.getIssueMailQueueItem(IssueEvent event,
Long templateId,
Set<NotificationRecipient> recipientList,
String notificationType) |
IssueMailQueueItem |
DefaultIssueMailQueueItemFactory.getIssueMailQueueItem(IssueEvent event,
Long templateId,
Set<NotificationRecipient> recipientList,
String notificationType) |
Collection<com.atlassian.mail.queue.SingleMailQueueItem> |
MailingListCompiler.prepareEmail(Set<NotificationRecipient> recipients,
String sender,
String senderFrom,
Long templateId,
String baseUrl,
Map<String,Object> contextParams,
com.atlassian.mail.MailThreader threader)
This function works out where the mail message has originated and then sets up the correct
parameters.
|
void |
MailingListCompiler.sendLists(Set<NotificationRecipient> recipients,
String sender,
String senderFrom,
Long templateId,
String baseUrl,
Map<String,Object> contextParams,
com.atlassian.mail.MailThreader threader)
Deprecated.
use
MailingListCompiler.prepareEmail(Set, String, String, Long, String, Map, MailThreader)
and add emails to desired queue by yourself |
Constructor and Description |
---|
MailServiceQueueItemBuilder(ApplicationUser replyTo,
NotificationRecipient recipient,
String subjectTemplatePath,
String bodyTemplatePath,
Map<String,Object> context) |
MentionMailQueueItem(ApplicationUser from,
NotificationRecipient recipient,
Map<String,Object> context,
IssueRenderContext issueRenderContext,
RendererManager rendererManager,
com.atlassian.mail.queue.MailQueue mailQueue) |
Constructor and Description |
---|
IssueMailQueueItem(TemplateContextFactory templateContextFactory,
IssueEvent event,
Long templateId,
Set<NotificationRecipient> recipientList,
String notificationType,
JiraAuthenticationContext authenticationContext,
MailingListCompiler mailingListCompiler,
TemplateManager templateManager,
VelocityTemplatingEngine templatingEngine,
com.atlassian.mail.server.MailServerManager mailServerManager,
PermissionManager permissionManager)
Create an issue mail queue item.
|
Constructor and Description |
---|
EmailBuilder(Email email,
NotificationRecipient notificationRecipient) |
EmailBuilder(Email email,
NotificationRecipient notificationRecipient,
IssueEvent event) |
Modifier and Type | Method and Description |
---|---|
void |
MentionServiceImpl.sendCommentMentions(ApplicationUser remoteUser,
Set<NotificationRecipient> currentRecipients,
Comment comment,
Comment originalComment) |
void |
MentionService.sendCommentMentions(ApplicationUser remoteUser,
Set<NotificationRecipient> currentRecipients,
Comment comment,
Comment originalComment)
Given a comment object this method will look for any mentions using the
MentionFinder and send e-mails to
all users mentioned. |
void |
MentionServiceImpl.sendIssueCreateMentions(ApplicationUser remoteUser,
Set<NotificationRecipient> currentRecipients,
Issue issue) |
void |
MentionService.sendIssueCreateMentions(ApplicationUser remoteUser,
Set<NotificationRecipient> currentRecipients,
Issue issue)
Given an issue object this method will look for any mentions in the description field using the
MentionFinder and send e-mails to
all users mentioned. |
void |
MentionServiceImpl.sendIssueEditMentions(ApplicationUser remoteUser,
Set<NotificationRecipient> currentRecipients,
Issue issue,
Comment comment) |
void |
MentionService.sendIssueEditMentions(ApplicationUser remoteUser,
Set<NotificationRecipient> currentRecipients,
Issue issue,
Comment comment)
Given an issue that has just been edited and an optional edit comment this method sends mention e-mails
to all users mentioned in either the new issue description or option edit comment.
|
Modifier and Type | Field and Description |
---|---|
protected com.google.common.base.Supplier<Iterable<NotificationRecipient>> |
AdhocNotificationService.ValidateNotificationResult.recipients |
Modifier and Type | Method and Description |
---|---|
Iterable<NotificationRecipient> |
NotificationFilter.addRecipient(NotificationFilterContext context,
Iterable<NotificationRecipient> intendedRecipients)
This called called to add possible new
NotificationRecipient s to a notification event. |
Set<NotificationRecipient> |
DefaultNotificationSchemeManager.getRecipients(IssueEvent event) |
Set<NotificationRecipient> |
NotificationSchemeManager.getRecipients(IssueEvent event)
Given an issue event this method returns a set of
NotificationRecipient s who will receive an e-mail
notification |
Set<NotificationRecipient> |
DefaultNotificationSchemeManager.getRecipients(IssueEvent event,
SchemeEntity notification) |
Set<NotificationRecipient> |
NotificationSchemeManager.getRecipients(IssueEvent event,
SchemeEntity notification)
Retrieve the set of recipients for the event using the specified notification entity.
|
List<NotificationRecipient> |
NotificationType.getRecipients(IssueEvent event,
String argument)
Who is to be notified of an event.
|
List<NotificationRecipient> |
ErrorNotificationType.getRecipients(IssueEvent event,
String argument) |
Iterable<NotificationRecipient> |
NotificationFilterManager.recomputeRecipients(Iterable<NotificationRecipient> recipients,
NotificationFilterContext context)
This will invoke plugins of
NotificationFilter and recompute the possible recipients of the
notification. |
Iterable<NotificationRecipient> |
NotificationFilterManagerImpl.recomputeRecipients(Iterable<NotificationRecipient> recipients,
NotificationFilterContext context) |
Modifier and Type | Method and Description |
---|---|
boolean |
NotificationFilterManager.filtered(NotificationRecipient recipient,
NotificationFilterContext context)
This will invoke plugins of
NotificationFilter and filter (only) a recipient of a notification |
boolean |
NotificationFilterManagerImpl.filtered(NotificationRecipient recipient,
NotificationFilterContext context) |
boolean |
NotificationFilter.removeRecipient(NotificationRecipient recipient,
NotificationFilterContext context)
This called called to remove
NotificationRecipient s from a notification event. |
Modifier and Type | Method and Description |
---|---|
Iterable<NotificationRecipient> |
NotificationFilter.addRecipient(NotificationFilterContext context,
Iterable<NotificationRecipient> intendedRecipients)
This called called to add possible new
NotificationRecipient s to a notification event. |
Iterable<NotificationRecipient> |
NotificationFilterManager.recomputeRecipients(Iterable<NotificationRecipient> recipients,
NotificationFilterContext context)
This will invoke plugins of
NotificationFilter and recompute the possible recipients of the
notification. |
Iterable<NotificationRecipient> |
NotificationFilterManagerImpl.recomputeRecipients(Iterable<NotificationRecipient> recipients,
NotificationFilterContext context) |
Constructor and Description |
---|
ValidateNotificationResult(ErrorCollection errorCollection,
NotificationBuilder notification,
com.google.common.base.Supplier<Iterable<NotificationRecipient>> recipients,
ApplicationUser from,
Issue issue) |
Modifier and Type | Method and Description |
---|---|
NotificationRecipient |
UserToRecipient.apply(ApplicationUser user) |
NotificationRecipient |
ApplicationUserToRecipient.apply(ApplicationUser user) |
Modifier and Type | Method and Description |
---|---|
List<NotificationRecipient> |
ComponentLead.getRecipients(IssueEvent event,
String argument) |
Modifier and Type | Method and Description |
---|---|
Set<NotificationRecipient> |
NotificationRecipientUtil.filterOutAuthorAndReceiver(ApplicationUser authorUser,
List<NotificationRecipient> allRecipients,
NotificationRecipient notificationReceiver) |
List<NotificationRecipient> |
NotificationRecipientUtil.getRecipients(ShareBean shareBean) |
Modifier and Type | Method and Description |
---|---|
Set<NotificationRecipient> |
NotificationRecipientUtil.filterOutAuthorAndReceiver(ApplicationUser authorUser,
List<NotificationRecipient> allRecipients,
NotificationRecipient notificationReceiver) |
Modifier and Type | Method and Description |
---|---|
Set<NotificationRecipient> |
NotificationRecipientUtil.filterOutAuthorAndReceiver(ApplicationUser authorUser,
List<NotificationRecipient> allRecipients,
NotificationRecipient notificationReceiver) |
Copyright © 2002-2017 Atlassian. All Rights Reserved.