Class 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

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected ChangeNotesCommit createCommit​(org.eclipse.jgit.lib.AnyObjectId id)  
      ChangeNotesCommit lookupCommit​(org.eclipse.jgit.lib.AnyObjectId id)  
      void markStart​(org.eclipse.jgit.revwalk.RevCommit c)  
      void markUninteresting​(org.eclipse.jgit.revwalk.RevCommit c)  
      ChangeNotesCommit next()  
      ChangeNotesCommit 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, 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
    • Method Detail

      • 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