public abstract class AbstractNotificationType extends Object implements NotificationType
| Constructor and Description |
|---|
AbstractNotificationType() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
doValidation(String key,
Map parameters)
Validate the configuration (the argument in
NotificationType.getRecipients(com.atlassian.jira.event.issue.IssueEvent, String))
when it is entered in the "Add Notification" page. |
String |
getArgumentDisplay(String argument)
Obtains the user-friendly display for the argument.
|
String |
getArgumentValue(String displayValue)
Obtains the raw parameter value to save for the given user entry user-friendly display value.
|
String |
getType()
Type identifier (currently unused).
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetDisplayName, getRecipientspublic String getType()
NotificationTypegetType in interface NotificationTypepublic boolean doValidation(String key, Map parameters)
NotificationTypeNotificationType.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.doValidation in interface NotificationTypekey - Key of relevant value in parametersparameters - HTML form parameters (only the keyed entry is relevant).public String getArgumentDisplay(String argument)
NotificationTypegetArgumentDisplay in interface NotificationTypeargument - Raw configuration valuepublic String getArgumentValue(String displayValue)
NotificationTypegetArgumentValue in interface NotificationTypedisplayValue - Value entered into the form (username, for example)Copyright © 2002-2017 Atlassian. All Rights Reserved.