public class CountingMailQueueItemWrapper extends Object implements com.atlassian.mail.queue.MailQueueItem
Constructor and Description |
---|
CountingMailQueueItemWrapper(com.atlassian.mail.queue.MailQueueItem delegate,
MailQueueItemsProcessedCounter mailQueueItemsProcessedCounter) |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(com.atlassian.mail.queue.MailQueueItem o) |
boolean |
equals(Object o) |
Date |
getDateQueued() |
int |
getSendCount() |
String |
getSubject() |
boolean |
hasError() |
int |
hashCode() |
void |
send() |
String |
toString() |
public CountingMailQueueItemWrapper(com.atlassian.mail.queue.MailQueueItem delegate, MailQueueItemsProcessedCounter mailQueueItemsProcessedCounter)
public void send() throws com.atlassian.mail.MailException
send
in interface com.atlassian.mail.queue.MailQueueItem
com.atlassian.mail.MailException
public String getSubject()
getSubject
in interface com.atlassian.mail.queue.MailQueueItem
public Date getDateQueued()
getDateQueued
in interface com.atlassian.mail.queue.MailQueueItem
public int getSendCount()
getSendCount
in interface com.atlassian.mail.queue.MailQueueItem
public boolean hasError()
hasError
in interface com.atlassian.mail.queue.MailQueueItem
public int compareTo(com.atlassian.mail.queue.MailQueueItem o)
compareTo
in interface Comparable<com.atlassian.mail.queue.MailQueueItem>
Copyright © 2002-2024 Atlassian. All Rights Reserved.