java.lang.Object |
↳ |
com.atlassian.jira.issue.search.searchers.transformer.UserSearchInput |
Class Overview
A value entered into a user searcher (e.g. current user, a specific user).
Summary
Nested Classes |
enum |
UserSearchInput.InputType |
|
Public Methods
Returns
- An instance representing the "currentUser()" value.
Returns
- An instance representing the "empty" value (e.g. unassigned).
public
boolean
equals
(Object that)
public
Object
getObject
()
Returns
- The actual object that corresponds to the user's input (i.e. the
group/user object with the given name/username).
Returns
- The type of the input value (i.e. current user, empty, etc.).
public
String
getValue
()
Returns
- The input value (i.e. the name of the group/user).
Parameters
name
| The name of the group. |
Returns
- An instance representing a particular group.
public
boolean
isCurrentUser
()
Returns
- Whether the instance represents the "currentUser()" value.
public
boolean
isEmpty
()
Returns
- Whether the instance represents the "empty" value.
public
boolean
isGroup
()
Returns
- Whether the instance represents a particular group.
public
boolean
isUser
()
Returns
- Whether the instance represents a particular user.
public
void
setObject
(Object object)
Parameters
object
| The object to set.
|
Parameters
name
| The user's username. |
Returns
- An instance representing a particular user.