Package com.google.gerrit.server.account
Class AccountResolver.Result
- java.lang.Object
-
- com.google.gerrit.server.account.AccountResolver.Result
-
- Enclosing class:
- AccountResolver
public class AccountResolver.Result extends Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.google.common.collect.ImmutableSet<Account.Id>
asIdSet()
com.google.common.collect.ImmutableList<AccountState>
asList()
com.google.common.collect.ImmutableSet<Account.Id>
asNonEmptyIdSet()
AccountState
asUnique()
IdentifiedUser
asUniqueUser()
IdentifiedUser
asUniqueUserOnBehalfOf(CurrentUser caller)
String
input()
boolean
isSelf()
-
-
-
Method Detail
-
input
public String input()
-
isSelf
public boolean isSelf()
-
asList
public com.google.common.collect.ImmutableList<AccountState> asList()
-
asNonEmptyIdSet
public com.google.common.collect.ImmutableSet<Account.Id> asNonEmptyIdSet() throws AccountResolver.UnresolvableAccountException
-
asIdSet
public com.google.common.collect.ImmutableSet<Account.Id> asIdSet()
-
asUnique
public AccountState asUnique() throws AccountResolver.UnresolvableAccountException
-
asUniqueUser
public IdentifiedUser asUniqueUser() throws AccountResolver.UnresolvableAccountException
-
asUniqueUserOnBehalfOf
public IdentifiedUser asUniqueUserOnBehalfOf(CurrentUser caller) throws AccountResolver.UnresolvableAccountException
-
-