com.atlassian.jira.event.listeners.mail
Class DebugMailListener
java.lang.Object
com.atlassian.jira.event.issue.AbstractIssueEventListener
com.atlassian.jira.event.listeners.mail.MailListener
com.atlassian.jira.event.listeners.mail.DebugMailListener
- All Implemented Interfaces:
- IssueEventListener, JiraListener, UserEventListener, EventListener
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
Method Summary |
boolean |
isInternal()
Indicates whether administrators can delete this listener from within the web interface. |
protected void |
sendNotification(IssueEvent event)
Retrieve the assocaited notification scheme and create the mail items for notification of the specified event. |
protected void |
sendUserMail(UserEvent event,
String subject,
String template)
|
Methods inherited from class com.atlassian.jira.event.listeners.mail.MailListener |
createMailItems, customEvent, getAcceptedParams, getDescription, init, issueAssigned, issueClosed, issueCommented, issueCommentEdited, issueCreated, issueDeleted, issueGenericEvent, issueMoved, issueReopened, issueResolved, issueStarted, issueStopped, issueUpdated, issueWorklogDeleted, issueWorkLogged, issueWorklogUpdated, isUnique, sendUserMail, userCreated, userForgotPassword, userForgotUsername, userSignup |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DebugMailListener
public DebugMailListener(NotificationSchemeManager notificationSchemeManager,
IssueMailQueueItemFactory issueMailQueueItemFactory,
ApplicationProperties applicationProperties)
sendNotification
protected void sendNotification(IssueEvent event)
- Description copied from class:
MailListener
- Retrieve the assocaited notification scheme and create the mail items for notification of the specified event.
- Overrides:
sendNotification
in class MailListener
sendUserMail
protected void sendUserMail(UserEvent event,
String subject,
String template)
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-2010 Atlassian. All Rights Reserved.