com.atlassian.jira.notification
Class NotificationRecipient

java.lang.Object
  extended bycom.atlassian.jira.notification.NotificationRecipient

public class NotificationRecipient
extends java.lang.Object


Field Summary
static java.lang.String MIMETYPE_HTML
           
static java.lang.String MIMETYPE_HTML_DISPLAY
           
static java.lang.String MIMETYPE_TEXT
           
static java.lang.String MIMETYPE_TEXT_DISPLAY
           
 
Constructor Summary
NotificationRecipient(java.lang.String pEmail)
           
NotificationRecipient(com.opensymphony.user.User u)
           
 
Method Summary
 boolean equals(java.lang.Object o)
           
 java.lang.String getEmail()
           
 int hashCode()
           
 boolean inGroup(java.lang.String groupName)
          If the Recipient is in the specified group If this is only an email address they are not in any group.
 boolean isHtml()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

MIMETYPE_HTML

public static final java.lang.String MIMETYPE_HTML
See Also:
Constant Field Values

MIMETYPE_HTML_DISPLAY

public static final java.lang.String MIMETYPE_HTML_DISPLAY
See Also:
Constant Field Values

MIMETYPE_TEXT

public static final java.lang.String MIMETYPE_TEXT
See Also:
Constant Field Values

MIMETYPE_TEXT_DISPLAY

public static final java.lang.String MIMETYPE_TEXT_DISPLAY
See Also:
Constant Field Values
Constructor Detail

NotificationRecipient

public NotificationRecipient(com.opensymphony.user.User u)

NotificationRecipient

public NotificationRecipient(java.lang.String pEmail)
Method Detail

getEmail

public java.lang.String getEmail()

isHtml

public boolean isHtml()

inGroup

public boolean inGroup(java.lang.String groupName)
If the Recipient is in the specified group If this is only an email address they are not in any group.

Parameters:
groupName -
Returns:

equals

public boolean equals(java.lang.Object o)

hashCode

public int hashCode()


Copyright © 2002-2005 Atlassian. All Rights Reserved.