public interface UserProfile
null, which indicates either that the underlying application
does not support that profile data, or that the user did not provide that profile data.
Note: implementors of this interface should override the #equals(Object) method such that two users with the
same userKey are considered equal.| Modifier and Type | Method and Description |
|---|---|
String |
getEmail()
Returns the email address of the user associated with this profile
|
String |
getFullName()
Returns the full name of the user associated with this profile information
|
URI |
getProfilePageUri()
Returns a URI for the user's profile page.
|
URI |
getProfilePictureUri()
Returns a URI for the user's profile picture.
|
URI |
getProfilePictureUri(int width,
int height)
Returns a URI for the user's profile picture.
|
UserKey |
getUserKey()
Returns the key of the user associated with this profile information.
|
String |
getUsername()
Returns the username of the user associated with this profile information.
|
UserKey getUserKey()
getUsername() or getFullName() for that purpose.UserKey}String getUsername()
getUserKey().#getUserKey()}String getFullName()
null if a full name was not provided or the application does not
support the full name as profile dataString getEmail()
null if an email address was not provided or the application does
not support email addresses as profile dataURI getProfilePictureUri(int width, int height)
width - the preferred width of the desired pictureheight - the preferred height of the desired picturenull
if a profile picture was not provided, the application does not support
profile pictures as profile data, or the application was unable to provide an
image larger than or equal to the requested sizeURI getProfilePictureUri()
null
if a profile picture was not provided or the application does not support
profile pictures as profile dataURI getProfilePageUri()
null if
the user does not have a profile page or the application does not support profile
pagesCopyright © 2015 Atlassian. All rights reserved.