com.atlassian.jira.notification.type
Class CurrentAssignee

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

public class CurrentAssignee
extends AbstractNotificationType


Constructor Summary
CurrentAssignee(JiraAuthenticationContext jiraAuthenticationContext)
           
 
Method Summary
 String getDisplayName()
          Text to display for this type, on the "Add Notification" page.
protected  User getPreviousAssignee(IssueEvent event)
           
 List 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

CurrentAssignee

public CurrentAssignee(JiraAuthenticationContext jiraAuthenticationContext)
Method Detail

getRecipients

public List 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.

getPreviousAssignee

protected User getPreviousAssignee(IssueEvent event)

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-2008 Atlassian. All Rights Reserved.