java.lang.Object | |
↳ | com.atlassian.jira.rest.v2.issue.UserBeanBuilder |
Builder for UserBean instances.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Creates new instance of UserBeanBuilder.
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Sets the ApplicationRole for given user
| |||||||||||
Sets the AvatarService to use for constructing the avatar URL.
| |||||||||||
Returns a new UserBean with all properties set.
| |||||||||||
Returns a new UserBean with all properties set.
| |||||||||||
Returns a new UserBean with the name, self, and author properties set.
| |||||||||||
Sets the EmailFormatter to use for users' email addresses.
| |||||||||||
Sets the groups that this user belongs to.
| |||||||||||
Sets the currently logged in user.
| |||||||||||
Sets the self URI.
| |||||||||||
Sets the user using a username and UserManager.
| |||||||||||
Sets the User.
|
Protected Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
Creates new instance of UserBeanBuilder. Requires JiraBaseUrls to build values of self parameter.
jiraBaseUrls | An instance of JiraBaseUrls |
---|
Sets the ApplicationRole for given user
Sets the AvatarService to use for constructing the avatar URL.
avatarService | an AvatarService |
---|
Returns a new UserBean with all properties set.
Returns a new UserBean with the name, self, and author properties set.
Sets the EmailFormatter to use for users' email addresses.
emailFormatter | an EmailFormatter |
---|
Sets the groups that this user belongs to.
groups | the groups that this user belongs to. |
---|
Sets the currently logged in user.
loggedInUser | a User |
---|
Sets the user using a username and UserManager. If the given User no longer exists, we still create a UserBean with the given username
username | The username |
---|---|
userManager | The UserManager |
Sets the User.
user | a User |
---|