com.atlassian.mail.queue
Interface MailQueueItem

All Superinterfaces:
java.io.Serializable, com.atlassian.core.task.Task
All Known Implementing Classes:
AbstractMailQueueItem, SingleMailQueueItem

public interface MailQueueItem
extends com.atlassian.core.task.Task

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.
 
Methods inherited from interface com.atlassian.core.task.Task
execute
 

Method Detail

send

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

Throws:
MailException

getSubject

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


getDateQueued

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


getSendCount

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


hasError

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



Copyright © 2008 Atlassian Software Systems Pty Ltd. All Rights Reserved.