com.atlassian.jira.mail
Class UserMailQueueItem

java.lang.Object
  |
  +--com.atlassian.jira.mail.AbstractMailQueueItem
        |
        +--com.atlassian.jira.mail.UserMailQueueItem
All Implemented Interfaces:
MailQueueItem

public class UserMailQueueItem
extends AbstractMailQueueItem

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


Constructor Summary
UserMailQueueItem(UserEvent event, java.lang.String subject, java.lang.String template)
           
 
Method Summary
 int getSendCount()
          Returns this number of this mail item has been sent
protected  java.util.Map getUserContextParamsBody(UserEvent uEvent)
           
 com.atlassian.mail.velocity.VelocityManager getVelocityManager()
           
 boolean hasError()
          Return if this mail queue has had an error
 void send()
          Force the underlying mail to be sent.
 java.lang.String toString()
           
 
Methods inherited from class com.atlassian.jira.mail.AbstractMailQueueItem
getDateQueued, getSubject
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

UserMailQueueItem

public UserMailQueueItem(UserEvent event,
                         java.lang.String subject,
                         java.lang.String template)
Method Detail

getSendCount

public int getSendCount()
Description copied from interface: MailQueueItem
Returns this number of this mail item has been sent


hasError

public boolean hasError()
Description copied from interface: MailQueueItem
Return if this mail queue has had an error


send

public void send()
          throws com.atlassian.mail.MailException
Description copied from interface: MailQueueItem
Force the underlying mail to be sent.

com.atlassian.mail.MailException

toString

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

getUserContextParamsBody

protected java.util.Map getUserContextParamsBody(UserEvent uEvent)

getVelocityManager

public com.atlassian.mail.velocity.VelocityManager getVelocityManager()


Copyright © 2002-2003 Atlassian. All Rights Reserved.