com.atlassian.mail.queue
Class AbstractMailQueueItem
java.lang.Object
com.atlassian.mail.queue.AbstractMailQueueItem
- All Implemented Interfaces:
- com.atlassian.core.task.Task, MailQueueItem, java.io.Serializable
- Direct Known Subclasses:
- SingleMailQueueItem
public abstract class AbstractMailQueueItem
- extends java.lang.Object
- implements MailQueueItem
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
mailThreader
protected MailThreader mailThreader
AbstractMailQueueItem
public AbstractMailQueueItem()
AbstractMailQueueItem
public AbstractMailQueueItem(java.lang.String subject)
getSubject
public java.lang.String getSubject()
- Description copied from interface:
MailQueueItem
- The subject of the queued mail item.
- Specified by:
getSubject
in interface MailQueueItem
getDateQueued
public java.util.Date getDateQueued()
- Description copied from interface:
MailQueueItem
- The date this mail item was queued.
- Specified by:
getDateQueued
in interface MailQueueItem
getSendCount
public int getSendCount()
- Description copied from interface:
MailQueueItem
- Returns this number of this mail item has been sent
- Specified by:
getSendCount
in interface MailQueueItem
hasError
public boolean hasError()
- Description copied from interface:
MailQueueItem
- Return if this mail queue has had an error
- Specified by:
hasError
in interface MailQueueItem
incrementSendCount
protected void incrementSendCount()
setMailThreader
public void setMailThreader(MailThreader mailThreader)
execute
public void execute()
throws java.lang.Exception
- Specified by:
execute
in interface com.atlassian.core.task.Task
- Throws:
java.lang.Exception
Copyright © 2008 Atlassian Software Systems Pty Ltd. All Rights Reserved.