Class DisabledExternalIdCache
- java.lang.Object
-
- com.google.gerrit.server.account.externalids.DisabledExternalIdCache
-
- All Implemented Interfaces:
ExternalIdCache
public class DisabledExternalIdCache extends Object implements ExternalIdCache
-
-
Constructor Summary
Constructors Constructor Description DisabledExternalIdCache()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description com.google.common.collect.ImmutableSetMultimap<Account.Id,ExternalId>
allByAccount()
com.google.common.collect.ImmutableSetMultimap<String,ExternalId>
allByEmail()
com.google.common.collect.ImmutableSet<ExternalId>
byAccount(Account.Id accountId)
com.google.common.collect.ImmutableSet<ExternalId>
byAccount(Account.Id accountId, org.eclipse.jgit.lib.ObjectId rev)
com.google.common.collect.ImmutableSetMultimap<String,ExternalId>
byEmails(String... emails)
Optional<ExternalId>
byKey(ExternalId.Key key)
static com.google.inject.Module
module()
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.google.gerrit.server.account.externalids.ExternalIdCache
byEmail
-
-
-
-
Method Detail
-
module
public static com.google.inject.Module module()
-
byKey
public Optional<ExternalId> byKey(ExternalId.Key key) throws IOException
- Specified by:
byKey
in interfaceExternalIdCache
- Throws:
IOException
-
byAccount
public com.google.common.collect.ImmutableSet<ExternalId> byAccount(Account.Id accountId)
- Specified by:
byAccount
in interfaceExternalIdCache
-
byAccount
public com.google.common.collect.ImmutableSet<ExternalId> byAccount(Account.Id accountId, org.eclipse.jgit.lib.ObjectId rev)
- Specified by:
byAccount
in interfaceExternalIdCache
-
allByAccount
public com.google.common.collect.ImmutableSetMultimap<Account.Id,ExternalId> allByAccount() throws IOException
- Specified by:
allByAccount
in interfaceExternalIdCache
- Throws:
IOException
-
byEmails
public com.google.common.collect.ImmutableSetMultimap<String,ExternalId> byEmails(String... emails) throws IOException
- Specified by:
byEmails
in interfaceExternalIdCache
- Throws:
IOException
-
allByEmail
public com.google.common.collect.ImmutableSetMultimap<String,ExternalId> allByEmail() throws IOException
- Specified by:
allByEmail
in interfaceExternalIdCache
- Throws:
IOException
-
-