public class User extends BasicUser
Modifier and Type | Field and Description |
---|---|
static String |
S16_16 |
static String |
S48_48 |
INCOMPLETE_URI
name, 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() |
int |
hashCode() |
String |
toString() |
getDisplayName, isSelfUriIncomplete
getName, getSelf, getToStringHelper
public 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 availableCopyright © 2013 Atlassian. All Rights Reserved.