public class

ErrorNotificationType

extends AbstractNotificationType
implements NotificationType
java.lang.Object
   ↳ com.atlassian.jira.notification.type.AbstractNotificationType
     ↳ com.atlassian.jira.notification.ErrorNotificationType

Summary

Public Constructors
ErrorNotificationType(String displayName)
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()
Text to display for this type, on the "Add Notification" page.
List<NotificationRecipient> getRecipients(IssueEvent event, String argument)
Who is to be notified of an event.
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 ErrorNotificationType (String displayName)

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 ()

Text to display for this type, on the "Add Notification" page.

Returns
  • (Internationalized) text to display, eg. "Group".

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

Who is to be notified of an event.

Parameters
event The event, eg. issue created
argument Configuration from notification scheme, eg. group name, custom field id.
Returns

public String getType ()

Type identifier (currently unused).

Returns
  • Eg. "group"