public class

SingleEmailAddress

extends AbstractNotificationType
java.lang.Object
   ↳ com.atlassian.jira.notification.type.AbstractNotificationType
     ↳ com.atlassian.jira.notification.type.SingleEmailAddress

Summary

Public Constructors
SingleEmailAddress(JiraAuthenticationContext jiraAuthenticationContext)
Public Methods
boolean doValidation(String key, Map parameters)
Validate the configuration (the argument in getRecipients(com.atlassian.jira.event.issue.IssueEvent, String)) when it is entered in the "Add Notification" page.
String getDisplayName()
List<NotificationRecipient> getRecipients(IssueEvent event, String emailAddress)
String getType()
Type identifier (currently unused).
[Expand]
Inherited Methods
From class com.atlassian.jira.notification.type.AbstractNotificationType
From class java.lang.Object
From interface com.atlassian.jira.notification.NotificationType

Public Constructors

public SingleEmailAddress (JiraAuthenticationContext jiraAuthenticationContext)

Public Methods

public boolean doValidation (String key, Map parameters)

Validate the configuration (the argument in getRecipients(com.atlassian.jira.event.issue.IssueEvent, String)) when it is entered in the "Add Notification" page. For instance, a group notification type might check if the entered group exists.

Parameters
key Key of relevant value in parameters
parameters HTML form parameters (only the keyed entry is relevant).
Returns
  • Whether the entered value is valid for this type.

public String getDisplayName ()

public List<NotificationRecipient> getRecipients (IssueEvent event, String emailAddress)

public String getType ()

Type identifier (currently unused).

Returns
  • Eg. "group"