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 java.net.URI |
INCOMPLETE_URI
This value is used to mark incomplete user URI - when server response with user without selfUri set. |
Constructor Summary |
BasicUser(java.net.URI self,
java.lang.String name,
java.lang.String displayName)
|
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
INCOMPLETE_URI
public static java.net.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(java.net.URI self,
java.lang.String name,
java.lang.String displayName)
getDisplayName
public java.lang.String getDisplayName()
getToStringHelper
protected com.google.common.base.Objects.ToStringHelper getToStringHelper()
- Overrides:
getToStringHelper
in class AddressableNamedEntity
equals
public boolean equals(java.lang.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 © 2013 Atlassian. All Rights Reserved.