@ExperimentalApi public class

DefaultIssueEventBundle

extends Object
implements IssueEventBundle
java.lang.Object
   ↳ com.atlassian.jira.event.issue.DefaultIssueEventBundle

@ExperimentalApi

This class is considered usable by external developers but its contracts have not stabilized.

Experimental APIs may be changed at any time before being marked @Internal or @PublicApi.

Class Overview

This is the default implementation of IssueEventBundle.

Summary

Public Methods
@Nonnull static DefaultIssueEventBundle create(Collection<? extends JiraIssueEvent> events)
Creates an instance of DefaultIssueEventBundle with the given events.
@Nonnull static DefaultIssueEventBundle createDisallowingEmailNotifications(Collection<JiraIssueEvent> events)
Creates an instance of DefaultIssueEventBundle with the given events.
boolean doesSendEmailNotification()
@Nonnull Collection<JiraIssueEvent> getEvents()
[Expand]
Inherited Methods
From class java.lang.Object
From interface com.atlassian.jira.event.issue.IssueEventBundle

Public Methods

@Nonnull public static DefaultIssueEventBundle create (Collection<? extends JiraIssueEvent> events)

Creates an instance of DefaultIssueEventBundle with the given events. The returned instance is configured so if it is published, email notifications will be generated for the events.

Parameters
events The list of events.
Returns
See Also
  • {@link com.atlassian.jira.event.issue.JiraIssueEvent}

@Nonnull public static DefaultIssueEventBundle createDisallowingEmailNotifications (Collection<JiraIssueEvent> events)

Creates an instance of DefaultIssueEventBundle with the given events. The returned instance is configured so if it is published, no email notifications will be generated for the events.

Parameters
events The list of events.
Returns

public boolean doesSendEmailNotification ()

@Nonnull public Collection<JiraIssueEvent> getEvents ()