Class ChangeNotesCommit.ChangeNotesRevWalk

java.lang.Object
org.eclipse.jgit.revwalk.RevWalk
com.google.gerrit.server.notedb.ChangeNotesCommit.ChangeNotesRevWalk
All Implemented Interfaces:
AutoCloseable, Iterable<org.eclipse.jgit.revwalk.RevCommit>
Enclosing class:
ChangeNotesCommit

public static class ChangeNotesCommit.ChangeNotesRevWalk extends org.eclipse.jgit.revwalk.RevWalk
A RevWalk that creates ChangeNotesCommits rather than RevCommits
  • Method Summary

    Modifier and Type
    Method
    Description
    createCommit(org.eclipse.jgit.lib.AnyObjectId id)
     
    lookupCommit(org.eclipse.jgit.lib.AnyObjectId id)
     
    void
    markStart(org.eclipse.jgit.revwalk.RevCommit c)
     
    void
    markUninteresting(org.eclipse.jgit.revwalk.RevCommit c)
     
     
    parseCommit(org.eclipse.jgit.lib.AnyObjectId id)
     

    Methods inherited from class org.eclipse.jgit.revwalk.RevWalk

    assertNoCommitsMarkedStart, assertNotStarted, assumeShallow, carry, carry, close, createReachabilityChecker, dispose, disposeFlag, getMergedInto, getMergedInto, getObjectReader, getRevFilter, getRevSort, getTreeFilter, hasRevSort, isFirstParent, isMergedInto, isMergedIntoAll, isMergedIntoAny, isRetainBody, iterator, lookupAny, lookupBlob, lookupCommit, lookupOrNull, lookupTag, lookupTree, markStart, newFlag, parseAny, parseAny, parseBody, parseHeaders, parseTag, parseTree, peel, reset, reset, resetRetain, resetRetain, retainOnReset, retainOnReset, setFirstParent, setRetainBody, setRevFilter, setRewriteParents, setTreeFilter, sort, sort, toObjectWalkWithSameObjects

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface java.lang.Iterable

    forEach, spliterator
  • Method Details

    • createCommit

      protected ChangeNotesCommit createCommit(org.eclipse.jgit.lib.AnyObjectId id)
      Overrides:
      createCommit in class org.eclipse.jgit.revwalk.RevWalk
    • next

      public ChangeNotesCommit next() throws org.eclipse.jgit.errors.MissingObjectException, org.eclipse.jgit.errors.IncorrectObjectTypeException, IOException
      Overrides:
      next in class org.eclipse.jgit.revwalk.RevWalk
      Throws:
      org.eclipse.jgit.errors.MissingObjectException
      org.eclipse.jgit.errors.IncorrectObjectTypeException
      IOException
    • markStart

      public void markStart(org.eclipse.jgit.revwalk.RevCommit c) throws org.eclipse.jgit.errors.MissingObjectException, org.eclipse.jgit.errors.IncorrectObjectTypeException, IOException
      Overrides:
      markStart in class org.eclipse.jgit.revwalk.RevWalk
      Throws:
      org.eclipse.jgit.errors.MissingObjectException
      org.eclipse.jgit.errors.IncorrectObjectTypeException
      IOException
    • markUninteresting

      public void markUninteresting(org.eclipse.jgit.revwalk.RevCommit c) throws org.eclipse.jgit.errors.MissingObjectException, org.eclipse.jgit.errors.IncorrectObjectTypeException, IOException
      Overrides:
      markUninteresting in class org.eclipse.jgit.revwalk.RevWalk
      Throws:
      org.eclipse.jgit.errors.MissingObjectException
      org.eclipse.jgit.errors.IncorrectObjectTypeException
      IOException
    • lookupCommit

      public ChangeNotesCommit lookupCommit(org.eclipse.jgit.lib.AnyObjectId id)
      Overrides:
      lookupCommit in class org.eclipse.jgit.revwalk.RevWalk
    • parseCommit

      public ChangeNotesCommit parseCommit(org.eclipse.jgit.lib.AnyObjectId id) throws org.eclipse.jgit.errors.MissingObjectException, org.eclipse.jgit.errors.IncorrectObjectTypeException, IOException
      Overrides:
      parseCommit in class org.eclipse.jgit.revwalk.RevWalk
      Throws:
      org.eclipse.jgit.errors.MissingObjectException
      org.eclipse.jgit.errors.IncorrectObjectTypeException
      IOException