com.atlassian.jira.mail
Class MentionMailQueueItem
java.lang.Object
com.atlassian.mail.queue.AbstractMailQueueItem
com.atlassian.jira.mail.MentionMailQueueItem
- All Implemented Interfaces:
- com.atlassian.core.task.Task, com.atlassian.mail.queue.MailQueueItem, Serializable, Comparable<com.atlassian.mail.queue.MailQueueItem>
public class MentionMailQueueItem
- extends com.atlassian.mail.queue.AbstractMailQueueItem
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.
- Since:
- v6.1
- See Also:
- Serialized Form
Fields inherited from class com.atlassian.mail.queue.AbstractMailQueueItem |
mailThreader |
Method Summary |
String |
getSubject()
This is the subject as displayed in the Mail Queue Admin page. |
void |
send()
|
Methods inherited from class com.atlassian.mail.queue.AbstractMailQueueItem |
compareTo, execute, getDateQueued, getSendCount, hasError, incrementSendCount, setMailThreader |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MentionMailQueueItem
public MentionMailQueueItem(com.atlassian.crowd.embedded.api.User from,
NotificationRecipient recipient,
Map<String,Object> context,
IssueRenderContext issueRenderContext,
RendererManager rendererManager,
com.atlassian.mail.queue.MailQueue mailQueue)
getSubject
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.
- Specified by:
getSubject
in interface com.atlassian.mail.queue.MailQueueItem
- Overrides:
getSubject
in class com.atlassian.mail.queue.AbstractMailQueueItem
- Returns:
- String the subject as displayed on the mail queue admin page
send
public void send()
throws com.atlassian.mail.MailException
- Throws:
com.atlassian.mail.MailException
Copyright © 2002-2014 Atlassian. All Rights Reserved.