public class GroupDropdown extends AbstractNotificationType
| Constructor and Description |
|---|
GroupDropdown(JiraAuthenticationContext jiraAuthenticationContext) |
| 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 |
getDisplayName()
Text to display for this type, on the "Add Notification" page.
|
Collection |
getGroups() |
List<NotificationRecipient> |
getRecipients(IssueEvent event,
String groupName)
Who is to be notified of an event.
|
String |
getType()
Type identifier (currently unused).
|
getArgumentDisplay, getArgumentValuepublic GroupDropdown(JiraAuthenticationContext jiraAuthenticationContext)
public List<NotificationRecipient> getRecipients(IssueEvent event, String groupName)
NotificationTypeevent - The event, eg. issue createdgroupName - Configuration from notification scheme, eg. group name, custom field id.NotificationRecipients.public String getDisplayName()
NotificationTypepublic String getType()
NotificationTypegetType in interface NotificationTypegetType in class AbstractNotificationTypepublic Collection getGroups()
public 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 NotificationTypedoValidation in class AbstractNotificationTypekey - Key of relevant value in parametersparameters - HTML form parameters (only the keyed entry is relevant).Copyright © 2002-2019 Atlassian. All Rights Reserved.