com.atlassian.jira.rest.client.api.domain
Class BasicUser
java.lang.Object
com.atlassian.jira.rest.client.api.domain.AddressableNamedEntity
com.atlassian.jira.rest.client.api.domain.BasicUser
- All Implemented Interfaces:
- AddressableEntity, NamedEntity
- Direct Known Subclasses:
- User
public class BasicUser
- extends AddressableNamedEntity
Basic information about a JIRA user
- Since:
- v0.1
|
Field Summary |
static URI |
INCOMPLETE_URI
This value is used to mark incomplete user URI - when server response with user without selfUri set. |
INCOMPLETE_URI
public static URI INCOMPLETE_URI
- This value is used to mark incomplete user URI - when server response with user without selfUri set.
This may happen due to bug in JIRA REST API - for example in JRA-30263 bug, JIRA REST API will return
user without selfUri for deleted author of worklog entry.
BasicUser
public BasicUser(URI self,
String name,
String displayName)
getDisplayName
public String getDisplayName()
getToStringHelper
protected com.google.common.base.Objects.ToStringHelper getToStringHelper()
- Overrides:
getToStringHelper in class AddressableNamedEntity
equals
public boolean equals(Object obj)
- Overrides:
equals in class AddressableNamedEntity
hashCode
public int hashCode()
- Overrides:
hashCode in class AddressableNamedEntity
isSelfUriIncomplete
public boolean isSelfUriIncomplete()
- Returns:
- true when URI returned from server was incomplete. See
INCOMPLETE_URI for more detail.
Copyright © 2014 Atlassian. All Rights Reserved.