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
  • Method Details

    • send

      public void send() throws com.atlassian.mail.MailException
      Throws:
      com.atlassian.mail.MailException
    • getColumns

      public List<ColumnLayoutItem> getColumns(ApplicationUser user) throws Exception
      Throws:
      Exception
    • getSubject

      public String 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:
      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
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object