com.atlassian.jira.mail
Interface MailQueueItem

All Known Implementing Classes:
AbstractMailQueueItem, SingleMailQueueItem

public interface MailQueueItem

Created by IntelliJ IDEA. User: Mike Cannon-Brookes Date: Jan 22, 2003 Time: 12:55:18 AM To change this template use Options | File Templates.


Method Summary
 java.util.Date getDateQueued()
          The date this mail item was queued.
 int getSendCount()
          Returns this number of this mail item has been sent
 java.lang.String getSubject()
          The subject of the queued mail item.
 boolean hasError()
          Return if this mail queue has had an error
 void send()
          Force the underlying mail to be sent.
 

Method Detail

send

public void send()
          throws MailException
Force the underlying mail to be sent.

Throws:
MailException

getSubject

public java.lang.String getSubject()
The subject of the queued mail item.


getDateQueued

public java.util.Date getDateQueued()
The date this mail item was queued.


getSendCount

public int getSendCount()
Returns this number of this mail item has been sent


hasError

public boolean hasError()
Return if this mail queue has had an error