@PublicApi @ParametersAreNonnullByDefault @ReturnValuesAreNonnullByDefault public class MentionIssueEvent extends Object
Constructor and Description |
---|
MentionIssueEvent(Issue issue,
ApplicationUser fromUser,
Set<ApplicationUser> toUsers,
Set<NotificationRecipient> recipients,
String mentionText,
String fieldId,
Set<NotificationRecipient> currentRecipients) |
MentionIssueEvent(Issue issue,
ApplicationUser fromUser,
Set<ApplicationUser> toUsers,
String mentionText,
String fieldId,
Set<NotificationRecipient> currentRecipients)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
Set<NotificationRecipient> |
getCurrentRecipients()
Deprecated.
|
String |
getFieldId() |
ApplicationUser |
getFromUser() |
Issue |
getIssue() |
String |
getMentionText() |
Set<NotificationRecipient> |
getRecipients()
Returns the recipients that should receive an email for this mention, after de-duplicating users that already
received an email for an action in this bundle.
|
Set<ApplicationUser> |
getToUsers()
Returns the set of mentioned users, after permission checks.
|
int |
hashCode() |
String |
toString() |
@Deprecated public MentionIssueEvent(Issue issue, ApplicationUser fromUser, Set<ApplicationUser> toUsers, String mentionText, String fieldId, @Nullable Set<NotificationRecipient> currentRecipients)
public MentionIssueEvent(Issue issue, ApplicationUser fromUser, Set<ApplicationUser> toUsers, Set<NotificationRecipient> recipients, String mentionText, String fieldId, @Nullable Set<NotificationRecipient> currentRecipients)
public Issue getIssue()
public ApplicationUser getFromUser()
public Set<ApplicationUser> getToUsers()
public Set<NotificationRecipient> getRecipients()
public String getMentionText()
public String getFieldId()
@Deprecated @Nullable public Set<NotificationRecipient> getCurrentRecipients()
Copyright © 2002-2022 Atlassian. All Rights Reserved.