Package com.google.gerrit.server.change
Class MergeabilityCacheImpl
- java.lang.Object
-
- com.google.gerrit.server.change.MergeabilityCacheImpl
-
- All Implemented Interfaces:
MergeabilityCache
public class MergeabilityCacheImpl extends Object implements MergeabilityCache
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
MergeabilityCacheImpl.EntryKey
static class
MergeabilityCacheImpl.MergeabilityWeigher
-
Nested classes/interfaces inherited from interface com.google.gerrit.server.change.MergeabilityCache
MergeabilityCache.NotImplemented
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
get(org.eclipse.jgit.lib.ObjectId commit, org.eclipse.jgit.lib.Ref intoRef, SubmitType submitType, String mergeStrategy, BranchNameKey dest, org.eclipse.jgit.lib.Repository repo)
Boolean
getIfPresent(org.eclipse.jgit.lib.ObjectId commit, org.eclipse.jgit.lib.Ref intoRef, SubmitType submitType, String mergeStrategy)
static com.google.inject.Module
module()
static org.eclipse.jgit.lib.ObjectId
toId(org.eclipse.jgit.lib.Ref ref)
-
-
-
Method Detail
-
module
public static com.google.inject.Module module()
-
toId
public static org.eclipse.jgit.lib.ObjectId toId(org.eclipse.jgit.lib.Ref ref)
-
get
public boolean get(org.eclipse.jgit.lib.ObjectId commit, org.eclipse.jgit.lib.Ref intoRef, SubmitType submitType, String mergeStrategy, BranchNameKey dest, org.eclipse.jgit.lib.Repository repo)
- Specified by:
get
in interfaceMergeabilityCache
-
getIfPresent
public Boolean getIfPresent(org.eclipse.jgit.lib.ObjectId commit, org.eclipse.jgit.lib.Ref intoRef, SubmitType submitType, String mergeStrategy)
- Specified by:
getIfPresent
in interfaceMergeabilityCache
-
-