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

java.lang.Object
  extended bycom.atlassian.jira.event.issue.AbstractIssueEventListener
      extended bycom.atlassian.jira.event.listeners.mail.MailListener
          extended bycom.atlassian.jira.event.listeners.mail.DebugMailListener
All Implemented Interfaces:
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
 boolean isInternal()
          Indicates whether administrators can delete this listener from within the web interface.
protected  void sendNotification(IssueEvent event, String notificationType, String template)
           
 
Methods inherited from class com.atlassian.jira.event.listeners.mail.MailListener
getAcceptedParams, getDescription, init, issueAssigned, issueClosed, issueCommented, issueCreated, issueDeleted, issueGenericEvent, issueMoved, issueReopened, issueResolved, issueStarted, issueStopped, issueUpdated, issueWorkLogged, isUnique, sendUserMail, userCreated, userForgotPassword, userForgotUsername, userSignup
 
Methods inherited from class com.atlassian.jira.event.issue.AbstractIssueEventListener
getI18NBean, workflowEvent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.atlassian.jira.event.issue.IssueEventListener
workflowEvent
 

Constructor Detail

DebugMailListener

public DebugMailListener()
Method Detail

sendNotification

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

isInternal

public boolean isInternal()
Description copied from interface: JiraListener
Indicates whether administrators can delete this listener from within the web interface.

Basically only Atlassian listeners should return true from this.

Specified by:
isInternal in interface JiraListener
Overrides:
isInternal in class MailListener


Copyright © 2002-2006 Atlassian. All Rights Reserved.