com.atlassian.jira.mail
Class IssueMailQueueItem

java.lang.Object
  extended bycom.atlassian.mail.queue.AbstractMailQueueItem
      extended bycom.atlassian.jira.mail.IssueMailQueueItem
All Implemented Interfaces:
com.atlassian.mail.queue.MailQueueItem, com.atlassian.core.task.Task

public class IssueMailQueueItem
extends com.atlassian.mail.queue.AbstractMailQueueItem


Field Summary
(package private)  IssueEvent event
           
(package private)  String notificationType
           
(package private)  String template
           
 
Fields inherited from class com.atlassian.mail.queue.AbstractMailQueueItem
mailThreader
 
Constructor Summary
IssueMailQueueItem(IssueEvent event, String notificationType, String template)
           
 
Method Summary
 IssueEvent getEvent()
           
protected  Map getIssueContextParams(IssueEvent iEvent)
           
 String getNotificationType()
           
 String getSubject()
           
 String getTemplate()
           
protected  boolean isEnterprise()
           
 void send()
           
 String toString()
           
 
Methods inherited from class com.atlassian.mail.queue.AbstractMailQueueItem
execute, getDateQueued, getSendCount, hasError, incrementSendCount, setMailThreader
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

event

IssueEvent event

notificationType

String notificationType

template

String template
Constructor Detail

IssueMailQueueItem

public IssueMailQueueItem(IssueEvent event,
                          String notificationType,
                          String template)
Method Detail

getSubject

public String getSubject()

getEvent

public IssueEvent getEvent()

getNotificationType

public String getNotificationType()

getTemplate

public String getTemplate()

send

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

toString

public String toString()

getIssueContextParams

protected Map getIssueContextParams(IssueEvent iEvent)
                             throws org.ofbiz.core.entity.GenericEntityException,
                                    EntityNotFoundException
Throws:
org.ofbiz.core.entity.GenericEntityException
EntityNotFoundException

isEnterprise

protected boolean isEnterprise()


Copyright © 2002-2006 Atlassian. All Rights Reserved.