Package com.google.gerrit.server.change
Class MergeabilityCacheImpl
java.lang.Object
com.google.gerrit.server.change.MergeabilityCacheImpl
- All Implemented Interfaces:
MergeabilityCache
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
static class
Nested classes/interfaces inherited from interface com.google.gerrit.server.change.MergeabilityCache
MergeabilityCache.NotImplemented
-
Method Summary
Modifier and TypeMethodDescriptionboolean
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) 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 Details
-
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
-