@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 IssueEventBundle
public boolean doesSendEmailNotification()
doesSendEmailNotification
in interface IssueEventBundle
Copyright © 2002-2019 Atlassian. All Rights Reserved.