@ExperimentalApi public class DefaultIssueEventBundle extends Object implements IssueEventBundle
IssueEventBundle.| Modifier and Type | Method and Description |
|---|---|
static DefaultIssueEventBundle |
create(Collection<? extends JiraIssueEvent> events)
Creates an instance of
DefaultIssueEventBundle with the given events. |
static DefaultIssueEventBundle |
createDisallowingEmailNotifications(Collection<JiraIssueEvent> events)
Creates an instance of
DefaultIssueEventBundle with the given events. |
boolean |
doesSendEmailNotification() |
Collection<JiraIssueEvent> |
getEvents() |
@Nonnull public static DefaultIssueEventBundle create(@Nonnull Collection<? extends JiraIssueEvent> events)
DefaultIssueEventBundle with the given events.
The returned instance is configured so if it is published, email notifications will be generated for the events.events - The list of events.DefaultIssueEventBundle containing the events.com.atlassian.jira.event.issue.JiraIssueEvent}@Nonnull public static DefaultIssueEventBundle createDisallowingEmailNotifications(@Nonnull Collection<JiraIssueEvent> events)
DefaultIssueEventBundle with the given events.
The returned instance is configured so if it is published, no email notifications will be generated for the events.events - The list of events.DefaultIssueEventBundle containing the events.@Nonnull public Collection<JiraIssueEvent> getEvents()
getEvents in interface IssueEventBundlepublic boolean doesSendEmailNotification()
doesSendEmailNotification in interface IssueEventBundleCopyright © 2002-2016 Atlassian. All Rights Reserved.