public class User extends Resource
apirev, DEFAULT_API_REV, id, restclient, self| Modifier | Constructor and Description |
|---|---|
protected |
User(RestClient restclient,
net.sf.json.JSONObject json)
Creates a user from a JSON payload.
|
| Modifier and Type | Method and Description |
|---|---|
static User |
get(RestClient restclient,
String username)
Retrieves the given user record.
|
Map<String,String> |
getAvatarUrls() |
String |
getDisplayName() |
String |
getEmail() |
String |
getName() |
boolean |
isActive() |
String |
toString() |
getApiRev, getAuthUri, getBaseUri, getId, getSelf, getUrl, setApiRevprotected User(RestClient restclient, net.sf.json.JSONObject json)
restclient - REST client instancejson - JSON payloadpublic static User get(RestClient restclient, String username) throws JiraException
restclient - REST client instanceusername - User logon nameJiraException - when the retrieval failspublic boolean isActive()
public String getDisplayName()
public String getEmail()
public String getName()
Copyright © 2022. All rights reserved.