com.atlassian.jira.mock.event
Class MockMailListener
java.lang.Object
com.atlassian.jira.event.issue.AbstractIssueEventListener
com.atlassian.jira.event.listeners.mail.MailListener
com.atlassian.jira.mock.event.MockMailListener
- All Implemented Interfaces:
- IssueEventListener, JiraListener, UserEventListener, EventListener
public class MockMailListener
- extends MailListener
Methods inherited from class com.atlassian.jira.event.listeners.mail.MailListener |
addMailItems, customEvent, getAcceptedParams, getDescription, init, isInternal, issueAssigned, issueClosed, issueCommentDeleted, issueCommented, issueCommentEdited, issueCreated, issueDeleted, issueGenericEvent, issueMoved, issueReopened, issueResolved, issueStarted, issueStopped, issueUpdated, issueWorklogDeleted, issueWorkLogged, issueWorklogUpdated, isUnique, userCannotChangePassword, userCreated, userForgotPassword, userForgotUsername, userSignup |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MockMailListener
public MockMailListener(NotificationSchemeManager notificationSchemeManager,
IssueMailQueueItemFactory issueMailQueueItemFactory,
UserManager userManager,
NotificationFilterManager notificationFilterManager)
sendNotification
public void sendNotification(IssueEvent event)
- Description copied from class:
MailListener
- Retrieve the associated notification scheme and create the mail items for notification of the specified event.
- Overrides:
sendNotification
in class MailListener
- Parameters:
event
- the IssueEvent triggering the notification
getEventTypeIDCalled
public Long getEventTypeIDCalled()
setSendMessage
public void setSendMessage(boolean sendMessage)
sendUserMail
public void sendUserMail(UserEvent event,
String subject,
String subjectKey,
String template)
- Overrides:
sendUserMail
in class MailListener
getUserMailCalled
public String getUserMailCalled()
Copyright © 2002-2014 Atlassian. All Rights Reserved.