com.atlassian.confluence.mail.template
Class NonUserMailNotificationQueueItem

java.lang.Object
  extended by com.atlassian.confluence.mail.template.AbstractMailNotificationQueueItem
      extended by com.atlassian.confluence.mail.template.NonUserMailNotificationQueueItem
All Implemented Interfaces:
com.atlassian.core.task.Task, com.atlassian.mail.queue.MailQueueItem, java.io.Serializable

public class NonUserMailNotificationQueueItem
extends AbstractMailNotificationQueueItem

Handles mail notifications to be sent to non-Confluence users, i.e. plain email addresses

See Also:
Serialized Form

Field Summary
static java.lang.String TEMPLATES_LOCATION
           
 
Fields inherited from class com.atlassian.confluence.mail.template.AbstractMailNotificationQueueItem
body, dateQueued, MIME_TYPE_HTML, MIME_TYPE_TEXT
 
Constructor Summary
NonUserMailNotificationQueueItem(java.lang.String email, java.lang.String templateLocation, java.lang.String templateFileName, java.lang.String subject, java.lang.String mimeType)
           
 
Method Summary
protected  com.atlassian.mail.Email createMailObject()
           
 
Methods inherited from class com.atlassian.confluence.mail.template.AbstractMailNotificationQueueItem
addVelocityContextParam, clearContext, execute, getBody, getDateQueued, getLastError, getRenderedContent, getRenderedContent, getSendCount, getSubject, getTemplateContent, getTemplateFileName, getTemplateLocation, getVelocityContextParam, hasError, incrementSendCount, isRecognisedMimeType, preRenderBody, removeVelocityContextParam, retrieveMailServer, send, setBody, setLastError, setSubject, setTemplateContent, setTemplateFileName, setTemplateLocation
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

TEMPLATES_LOCATION

public static final java.lang.String TEMPLATES_LOCATION
See Also:
Constant Field Values
Constructor Detail

NonUserMailNotificationQueueItem

public NonUserMailNotificationQueueItem(java.lang.String email,
                                        java.lang.String templateLocation,
                                        java.lang.String templateFileName,
                                        java.lang.String subject,
                                        java.lang.String mimeType)
Method Detail

createMailObject

protected com.atlassian.mail.Email createMailObject()
Specified by:
createMailObject in class AbstractMailNotificationQueueItem


Copyright © 2003-2011 Atlassian. All Rights Reserved.