Package com.atlassian.jira.mail
Class SubscriptionSingleRecepientMailQueueItem
java.lang.Object
com.atlassian.mail.queue.AbstractMailQueueItem
com.atlassian.jira.mail.SubscriptionSingleRecepientMailQueueItem
- All Implemented Interfaces:
com.atlassian.mail.queue.MailQueueItem,Comparable<com.atlassian.mail.queue.MailQueueItem>
public class SubscriptionSingleRecepientMailQueueItem
extends com.atlassian.mail.queue.AbstractMailQueueItem
MailQueueItem representing single subscription email for single user.
Lightweight mail task, which evaluates email while being sent, was introduced to lower memory footprint of mail queue and
prevent
OutOfMemoryErrors while dealing with large subscriptions.- Since:
- v7.1.5
-
Field Summary
Fields inherited from class com.atlassian.mail.queue.AbstractMailQueueItem
mailThreader -
Method Summary
Modifier and TypeMethodDescriptionbooleangetColumns(ApplicationUser user) This is the subject as displayed in the Mail Queue Admin page when the mail is BEING sent.inthashCode()voidsend()toString()Methods inherited from class com.atlassian.mail.queue.AbstractMailQueueItem
compareTo, getDateQueued, getSendCount, hasError, incrementSendCount, setMailThreader
-
Method Details
-
send
public void send() throws com.atlassian.mail.MailException- Throws:
com.atlassian.mail.MailException
-
getColumns
- Throws:
Exception
-
getSubject
This is the subject as displayed in the Mail Queue Admin page when the mail is BEING sent. The string is retrieved in the default language for the JIRA system.- Specified by:
getSubjectin interfacecom.atlassian.mail.queue.MailQueueItem- Overrides:
getSubjectin classcom.atlassian.mail.queue.AbstractMailQueueItem- Returns:
- String the subject as displayed on the mail queue admin page
-
equals
-
hashCode
public int hashCode() -
toString
-