java.lang.Object | ||
↳ | com.atlassian.jira.event.issue.AbstractIssueEventListener | |
↳ | com.atlassian.jira.event.listeners.mail.MailListener |
Known Direct Subclasses
|
A listener for emailing notifications.
At the moment when this listener is activated it will email the reporter, assignee and any watchers.
The content of the emails is governed by Velocity templates (in /templates) and the emails are sent out by the MailSender.
Parameters: email.from - who the emails should be sent from email.server - the SMTP server to send email through email.session - the JNDI location of a MailSession to use when sending email subject.prefix - (optional) any prefix for the subject, like "[FooBar]" -> Subject: [FooBar] BazBat
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Returns the parameters used by this listener.
| |||||||||||
Returns a textual description of the listener.
| |||||||||||
Indicates whether this listener is internal, meaning it cannot be
removed by an administrator.
| |||||||||||
Indicates whether JIRA should only create one instance of this listener.
| |||||||||||
Fired when a user tries to change their password, and the password cannot be updated
| |||||||||||
Fired when a user is created automatically
| |||||||||||
Fired when a user indicates they have forgotten their password
| |||||||||||
Fired when a user indicates they have forgotten their username
| |||||||||||
Fired when a user signs up manually
|
Protected Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
If you need to treat all the issue events equally, override this method and add logic to handle events.
| |||||||||||
[Expand]
Inherited Methods | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
From class
com.atlassian.jira.event.issue.AbstractIssueEventListener
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
From class java.lang.Object | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
From interface
com.atlassian.jira.event.JiraListener
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
From interface
com.atlassian.jira.event.issue.IssueEventListener
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
From interface
com.atlassian.jira.event.user.UserEventListener
|
Returns the parameters used by this listener.
Returns a textual description of the listener. You can include HTML if required, but do not use tables or DHTML, as the description may be displayed inside tables or frames.
A good description will describe what this listener does and explain the parameters required for configuring it.
Indicates whether this listener is internal, meaning it cannot be removed by an administrator.
true
if this is an Atlassian listener, otherwise Indicates whether JIRA should only create one instance of this listener. For example, having multiple mail listeners would be fine if you wanted multiple mails sent out. For other listeners, such as cache listeners, it makes no sense to have multiple instances.
Fired when a user tries to change their password, and the password cannot be updated
event | the event in play |
---|
Fired when a user is created automatically
event | the event in play |
---|
Fired when a user indicates they have forgotten their password
event | the event in play |
---|
Fired when a user indicates they have forgotten their username
event | the event in play |
---|
Fired when a user signs up manually
event | the event in play |
---|
If you need to treat all the issue events equally, override this method and add logic to handle events. All legacy event handler methods (unless overridden) in this class call this method.
event | The received event |
---|