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,
boolean active,
ExpandableProperty<String> groups,
Map<String,URI> avatarUris,
String timezone) |
User(URI self,
String name,
String displayName,
String emailAddress,
ExpandableProperty<String> groups,
Map<String,URI> avatarUris,
String timezone)
Deprecated.
since v5.1.0. Use
User(URI,String,String,String,boolean,ExpandableProperty,Map,String) instead. |
| 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.MoreObjects.ToStringHelper |
getToStringHelper() |
int |
hashCode() |
boolean |
isActive() |
getDisplayName, isSelfUriIncompletegetName, getSelf, toStringpublic static final String S16_16
public static final String S48_48
public User(URI self, String name, String displayName, String emailAddress, boolean active, @Nullable ExpandableProperty<String> groups, Map<String,URI> avatarUris, @Nullable String timezone)
@Deprecated public User(URI self, String name, String displayName, String emailAddress, @Nullable ExpandableProperty<String> groups, Map<String,URI> avatarUris, @Nullable String timezone)
User(URI,String,String,String,boolean,ExpandableProperty,Map,String) instead.public String getEmailAddress()
public boolean isActive()
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.MoreObjects.ToStringHelper getToStringHelper()
getToStringHelper in class BasicUserCopyright © 2019 Atlassian. All rights reserved.