com.atlassian.jira.event.listeners.mail
Class DebugMailListener

java.lang.Object
  |
  +--com.atlassian.jira.mail.MailingListCompiler
        |
        +--com.atlassian.jira.event.listeners.mail.MailListener
              |
              +--com.atlassian.jira.event.listeners.mail.DebugMailListener
All Implemented Interfaces:
java.util.EventListener, IssueEventListener, JiraListener, UserEventListener

public class DebugMailListener
extends MailListener

This listener is used to debug the MailListener.

Basically instead of actually sending an email, it will print the method call

See Also:
MailListener

Constructor Summary
DebugMailListener()
           
 
Method Summary
protected  void sendNotification(IssueEvent event, java.lang.String notificationType, java.lang.String template, java.lang.String subjectPrefix)
           
 
Methods inherited from class com.atlassian.jira.event.listeners.mail.MailListener
getAcceptedParams, getDescription, init, isInternal, issueAssigned, issueClosed, issueCommented, issueCreated, issueDeleted, issueReopened, issueResolved, issueUpdated, issueWorkLogged, isUnique, sendUserMail, userCreated, userForgotPassword, userForgotUsername, userSignup
 
Methods inherited from class com.atlassian.jira.mail.MailingListCompiler
getEmailAddresses, getVelocityManager, sendLists, setVelocityManager
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DebugMailListener

public DebugMailListener()
Method Detail

sendNotification

protected void sendNotification(IssueEvent event,
                                java.lang.String notificationType,
                                java.lang.String template,
                                java.lang.String subjectPrefix)
Overrides:
sendNotification in class MailListener


Copyright © 2002-2003 Atlassian. All Rights Reserved.