com.atlassian.jira.notification.type
Class AllWatchers

java.lang.Object
  extended by com.atlassian.jira.notification.type.AbstractNotificationType
      extended by com.atlassian.jira.notification.type.AllWatchers
All Implemented Interfaces:
NotificationType

public class AllWatchers
extends AbstractNotificationType


Constructor Summary
AllWatchers(JiraAuthenticationContext jiraAuthenticationContext, IssueManager issueManager)
           
 
Method Summary
 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.
 
Methods inherited from class com.atlassian.jira.notification.type.AbstractNotificationType
doValidation, getArgumentDisplay, getType
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AllWatchers

public AllWatchers(JiraAuthenticationContext jiraAuthenticationContext,
                   IssueManager issueManager)
Method Detail

getRecipients

public List<NotificationRecipient> getRecipients(IssueEvent event,
                                                 String argument)
Description copied from interface: NotificationType
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:
A list of NotificationRecipients.

getDisplayName

public String getDisplayName()
Description copied from interface: NotificationType
Text to display for this type, on the "Add Notification" page.

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


Copyright © 2002-2012 Atlassian. All Rights Reserved.