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
Basic information about a JIRA user
- Since:
- v0.1
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic URIThis value is used to mark incomplete user URI - when server response with user without selfUri set.Fields inherited from class com.atlassian.jira.rest.client.api.domain.AddressableNamedEntity
name, self -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanprotected com.google.common.base.MoreObjects.ToStringHelperinthashCode()booleanMethods inherited from class com.atlassian.jira.rest.client.api.domain.AddressableNamedEntity
getName, getSelf, toString
-
Field Details
-
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.
-
-
Constructor Details
-
BasicUser
-
BasicUser
-
-
Method Details
-
getDisplayName
-
getAccountId
-
getToStringHelper
protected com.google.common.base.MoreObjects.ToStringHelper getToStringHelper()- Overrides:
getToStringHelperin classAddressableNamedEntity
-
equals
- Overrides:
equalsin classAddressableNamedEntity
-
hashCode
public int hashCode()- Overrides:
hashCodein classAddressableNamedEntity
-
isSelfUriIncomplete
public boolean isSelfUriIncomplete()- Returns:
- true when URI returned from server was incomplete. See
INCOMPLETE_URIfor more detail.
-