Class MergeabilityCacheImpl

java.lang.Object
com.google.gerrit.server.change.MergeabilityCacheImpl
All Implemented Interfaces:
MergeabilityCache

public class MergeabilityCacheImpl extends Object implements MergeabilityCache
  • 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 interface MergeabilityCache
    • getIfPresent

      public Boolean getIfPresent(org.eclipse.jgit.lib.ObjectId commit, org.eclipse.jgit.lib.Ref intoRef, SubmitType submitType, String mergeStrategy)
      Specified by:
      getIfPresent in interface MergeabilityCache