public class ReferenceNotificationFilter extends Object implements NotificationFilter
| Constructor and Description |
|---|
ReferenceNotificationFilter(JiraProperties jiraSystemProperties) |
| Modifier and Type | Method and Description |
|---|---|
Iterable<NotificationRecipient> |
addRecipient(NotificationFilterContext context,
Iterable<NotificationRecipient> intendedRecipients)
This called called to add possible new
NotificationRecipients to a notification event. |
boolean |
removeRecipient(NotificationRecipient recipient,
NotificationFilterContext context)
This called called to remove
NotificationRecipients from a notification event. |
public ReferenceNotificationFilter(JiraProperties jiraSystemProperties)
public Iterable<NotificationRecipient> addRecipient(NotificationFilterContext context, Iterable<NotificationRecipient> intendedRecipients)
NotificationFilterNotificationRecipients to a notification event. Its possible that
event is null in which case this means that there is no JIRA issue event in play but rather some other adhoc call
to the JIRA AdhocNotificationService.addRecipient in interface NotificationFiltercontext - the context of this possible notificationintendedRecipients - this list of recipients that has been build up to this point.public boolean removeRecipient(NotificationRecipient recipient, NotificationFilterContext context)
NotificationFilterNotificationRecipients from a notification event. Its possible that event
is null in which case this means that tyhere is no JIRA issue event in play but rather some other ahoc call to
the JIRA AdhocNotificationService.
This is ALWAYS called after NotificationFilter.addRecipient(NotificationFilterContext, Iterable) has been called for all plugins.
removeRecipient in interface NotificationFiltercontext - the context of this possible notificationCopyright © 2002-2019 Atlassian. All Rights Reserved.