|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.jira.mail.TemplateUser
public class TemplateUser
Provide a simple delegation around a User. This class catches exceptions and returns simple strings that are suitable for use within templates. See JRA-15551 for the motivation.
TemplateIssue
Method Summary | |
---|---|
boolean |
equals(Object o)
|
String |
getDisplayName()
|
String |
getEmail()
Deprecated. Please use getEmailAddress() . Since v4.3 |
String |
getEmailAddress()
Returns the email address of the user |
String |
getFullName()
Deprecated. please use getDisplayName() . Since v4.3 |
String |
getName()
|
static TemplateUser |
getUser(com.atlassian.crowd.embedded.api.User user)
|
int |
hashCode()
|
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Method Detail |
---|
public static TemplateUser getUser(com.atlassian.crowd.embedded.api.User user)
public String getEmailAddress()
public String getEmail()
getEmailAddress()
. Since v4.3
public String getDisplayName()
public String getFullName()
getDisplayName()
. Since v4.3
public String getName()
public int hashCode()
hashCode
in class Object
public String toString()
toString
in class Object
public boolean equals(Object o)
equals
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |