public class MergeabilityCacheImpl extends Object implements MergeabilityCache
Modifier and Type | Class and Description |
---|---|
static class |
MergeabilityCacheImpl.EntryKey |
static class |
MergeabilityCacheImpl.MergeabilityWeigher |
MergeabilityCache.NotImplemented
Modifier and Type | Field and Description |
---|---|
static com.google.common.collect.BiMap<com.google.gerrit.extensions.client.SubmitType,Character> |
SUBMIT_TYPES |
Modifier and Type | Method and Description |
---|---|
boolean |
get(org.eclipse.jgit.lib.ObjectId commit,
org.eclipse.jgit.lib.Ref intoRef,
com.google.gerrit.extensions.client.SubmitType submitType,
String mergeStrategy,
com.google.gerrit.reviewdb.client.Branch.NameKey dest,
org.eclipse.jgit.lib.Repository repo,
com.google.gerrit.reviewdb.server.ReviewDb db) |
Boolean |
getIfPresent(org.eclipse.jgit.lib.ObjectId commit,
org.eclipse.jgit.lib.Ref intoRef,
com.google.gerrit.extensions.client.SubmitType submitType,
String mergeStrategy) |
static com.google.inject.Module |
module() |
static org.eclipse.jgit.lib.ObjectId |
toId(org.eclipse.jgit.lib.Ref ref) |
public static final com.google.common.collect.BiMap<com.google.gerrit.extensions.client.SubmitType,Character> SUBMIT_TYPES
public static com.google.inject.Module module()
public static org.eclipse.jgit.lib.ObjectId toId(org.eclipse.jgit.lib.Ref ref)
public boolean get(org.eclipse.jgit.lib.ObjectId commit, org.eclipse.jgit.lib.Ref intoRef, com.google.gerrit.extensions.client.SubmitType submitType, String mergeStrategy, com.google.gerrit.reviewdb.client.Branch.NameKey dest, org.eclipse.jgit.lib.Repository repo, com.google.gerrit.reviewdb.server.ReviewDb db)
get
in interface MergeabilityCache
public Boolean getIfPresent(org.eclipse.jgit.lib.ObjectId commit, org.eclipse.jgit.lib.Ref intoRef, com.google.gerrit.extensions.client.SubmitType submitType, String mergeStrategy)
getIfPresent
in interface MergeabilityCache