com.atlassian.jira.mail
Class SubscriptionMailQueueItem

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

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


Field Summary
 
Fields inherited from class com.atlassian.mail.queue.AbstractMailQueueItem
mailThreader
 
Constructor Summary
SubscriptionMailQueueItem(org.ofbiz.core.entity.GenericValue sub)
           
 
Method Summary
 boolean equals(java.lang.Object o)
           
 int getSendCount()
           
 java.lang.String getSubject()
           
 boolean hasError()
           
 int hashCode()
           
 void send()
           
 java.lang.String toString()
           
 
Methods inherited from class com.atlassian.mail.queue.AbstractMailQueueItem
execute, getDateQueued, incrementSendCount, setMailThreader
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SubscriptionMailQueueItem

public SubscriptionMailQueueItem(org.ofbiz.core.entity.GenericValue sub)
Method Detail

getSendCount

public int getSendCount()
Specified by:
getSendCount in interface com.atlassian.mail.queue.MailQueueItem
Overrides:
getSendCount in class com.atlassian.mail.queue.AbstractMailQueueItem

hasError

public boolean hasError()
Specified by:
hasError in interface com.atlassian.mail.queue.MailQueueItem
Overrides:
hasError in class com.atlassian.mail.queue.AbstractMailQueueItem

send

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

getSubject

public java.lang.String getSubject()
Specified by:
getSubject in interface com.atlassian.mail.queue.MailQueueItem
Overrides:
getSubject in class com.atlassian.mail.queue.AbstractMailQueueItem

equals

public boolean equals(java.lang.Object o)
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


Copyright © 2002-2006 Atlassian. All Rights Reserved.