public class UserSearchInput extends Object implements Comparable<UserSearchInput>
Modifier and Type | Class and Description |
---|---|
static class |
UserSearchInput.InputType |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(UserSearchInput other) |
static UserSearchInput |
currentUser() |
static UserSearchInput |
empty() |
boolean |
equals(Object that) |
Object |
getObject() |
UserSearchInput.InputType |
getType() |
String |
getValue() |
static UserSearchInput |
group(String name) |
int |
hashCode() |
boolean |
isCurrentUser() |
boolean |
isEmpty() |
boolean |
isGroup() |
boolean |
isUser() |
void |
setObject(Object object) |
static UserSearchInput |
user(String name) |
public static UserSearchInput currentUser()
public static UserSearchInput empty()
public static UserSearchInput group(String name)
name
- The name of the group.public static UserSearchInput user(String name)
name
- The user's username.public int compareTo(UserSearchInput other)
compareTo
in interface Comparable<UserSearchInput>
public Object getObject()
public UserSearchInput.InputType getType()
public String getValue()
public boolean isCurrentUser()
public boolean isEmpty()
public boolean isGroup()
public boolean isUser()
public void setObject(Object object)
object
- The object to set.Copyright © 2002-2021 Atlassian. All Rights Reserved.