public class User extends BasicUser
| Modifier and Type | Field and Description |
|---|---|
static String |
S16_16 |
static String |
S48_48 |
INCOMPLETE_URIname, self| Constructor and Description |
|---|
User(URI self,
String name,
String displayName,
String emailAddress,
ExpandableProperty<String> groups,
Map<String,URI> avatarUris,
String timezone) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
URI |
getAvatarUri() |
URI |
getAvatarUri(String sizeDefinition)
As of JIRA 5.0 there can be several different user avatar URIs - for different size.
|
String |
getEmailAddress() |
ExpandableProperty<String> |
getGroups() |
URI |
getSmallAvatarUri() |
String |
getTimezone() |
protected com.google.common.base.Objects.ToStringHelper |
getToStringHelper() |
int |
hashCode() |
getDisplayName, isSelfUriIncompletegetName, getSelf, toStringpublic String getEmailAddress()
public URI getAvatarUri()
@Nullable public URI getSmallAvatarUri()
@Nullable public URI getAvatarUri(String sizeDefinition)
sizeDefinition - size like "16x16" or "48x48". URI for 48x48 should be always defined.null when there is no avatar image with given dimensions specified for this user@Nullable public ExpandableProperty<String> getGroups()
@Nullable public String getTimezone()
null if timezone info is not availableprotected com.google.common.base.Objects.ToStringHelper getToStringHelper()
getToStringHelper in class BasicUserCopyright © 2017 Atlassian. All rights reserved.