public class

MentionMailQueueItem

extends AbstractMailQueueItem
java.lang.Object
   ↳ com.atlassian.mail.queue.AbstractMailQueueItem
     ↳ com.atlassian.jira.mail.MentionMailQueueItem

Class Overview

Renders wikiContent using wiki renderer. Resulting markup is added to context with "htmlComment" key. Delegates further rendering to MailServiceQueueItem by enqueuing it to mail queue.

Summary

[Expand]
Inherited Fields
From class com.atlassian.mail.queue.AbstractMailQueueItem
Public Constructors
MentionMailQueueItem(User from, NotificationRecipient recipient, Map<StringObject> context, IssueRenderContext issueRenderContext, RendererManager rendererManager, MailQueue mailQueue)
Public Methods
String getSubject()
This is the subject as displayed in the Mail Queue Admin page.
void send()
[Expand]
Inherited Methods
From class com.atlassian.mail.queue.AbstractMailQueueItem
From class java.lang.Object
From interface com.atlassian.core.task.Task
From interface com.atlassian.mail.queue.MailQueueItem
From interface java.lang.Comparable

Public Constructors

public MentionMailQueueItem (User from, NotificationRecipient recipient, Map<StringObject> context, IssueRenderContext issueRenderContext, RendererManager rendererManager, MailQueue mailQueue)

Public Methods

public String getSubject ()

This is the subject as displayed in the Mail Queue Admin page. The subject is displayed in the preference language of the current user viewing items to be sent (i.e. different from items CURRENTLY being sent).

The subject will be displayed in the preference language of the mail recipient once the mail is actually being sent. When the mail is being sent, it is a SingleMailQueueItem.

Returns
  • String the subject as displayed on the mail queue admin page

public void send ()

Throws
MailException