|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.atlassian.jira.notification.type.AbstractNotificationType
com.atlassian.jira.notification.type.GroupCFValue
public class GroupCFValue
Group Custom Field notification type. Configured with a custom field, it interprets the custom field's value as a group name, and then notifies members of that group.
| Field Summary | |
|---|---|
static String |
ID
|
| Constructor Summary | |
|---|---|
GroupCFValue(JiraAuthenticationContext jiraAuthenticationContext,
GroupSelectorUtils groupSelectorUtils,
FieldManager fieldManager)
|
|
| Method Summary | |
|---|---|
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)
Displays the type's configuration in the notification scheme. |
String |
getDisplayName()
Text to display for this type, on the "Add Notification" page. |
List |
getFields()
Used in the UI layer. |
List<NotificationRecipient> |
getRecipients(IssueEvent event,
String customFieldId)
Who is to be notified of an event. |
String |
getType()
Type identifier (currently unused). |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String ID
| Constructor Detail |
|---|
public GroupCFValue(JiraAuthenticationContext jiraAuthenticationContext,
GroupSelectorUtils groupSelectorUtils,
FieldManager fieldManager)
| Method Detail |
|---|
public List<NotificationRecipient> getRecipients(IssueEvent event,
String customFieldId)
NotificationType
event - The event, eg. issue createdcustomFieldId - Configuration from notification scheme, eg. group name, custom field id.
NotificationRecipients.public String getDisplayName()
NotificationType
public String getType()
NotificationType
getType in interface NotificationTypegetType in class AbstractNotificationTypepublic List getFields()
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).
public String getArgumentDisplay(String argument)
NotificationType
getArgumentDisplay in interface NotificationTypegetArgumentDisplay in class AbstractNotificationTypeargument - Raw configuration value
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||