@PublicSpi public abstract class

AbstractShareEvent

extends Object
java.lang.Object
   ↳ com.atlassian.jira.plugins.share.event.AbstractShareEvent
Known Direct Subclasses

@PublicSpi

This class is designed for plugins to implement.

Clients of @PublicSpi can expect that programs compiled against a given version will remain binary compatible with later versions of the @PublicSpi as per each product's API policy (clients should refer to each product's API policy for the exact guarantee -- usually binary compatibility is guaranteed at least across minor versions).

Note: @PublicSpi interfaces and classes are specifically designed to be implemented/extended by clients. Hence, the guarantee of binary compatibility is different to that of @PublicApi elements (if an element is both @PublicApi and @PublicSpi, both guarantees apply).

Class Overview

An abstract event to represent the act of sharing an entity via e-mail with a set of users or e-mail addresses. Entities will typically be issues or filter results.

Summary

Public Constructors
AbstractShareEvent(ApplicationUser fromUser, Set<String> toUsernames, Set<String> toEmails, String comment)
Public Methods
String getComment()
ApplicationUser getFromUser()
Set<String> getToEmails()
Set<String> getToUsernames()
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public AbstractShareEvent (ApplicationUser fromUser, Set<String> toUsernames, Set<String> toEmails, String comment)

Public Methods

public String getComment ()

public ApplicationUser getFromUser ()

public Set<String> getToEmails ()

public Set<String> getToUsernames ()