Package com.google.gerrit.server.notedb
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
-
Method Summary
Modifier and TypeMethodDescriptionprotected ChangeNotesCommit
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) next()
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
- Overrides:
createCommit
in classorg.eclipse.jgit.revwalk.RevWalk
-
next
public ChangeNotesCommit next() throws org.eclipse.jgit.errors.MissingObjectException, org.eclipse.jgit.errors.IncorrectObjectTypeException, IOException- Overrides:
next
in classorg.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 classorg.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 classorg.eclipse.jgit.revwalk.RevWalk
- Throws:
org.eclipse.jgit.errors.MissingObjectException
org.eclipse.jgit.errors.IncorrectObjectTypeException
IOException
-
lookupCommit
- Overrides:
lookupCommit
in classorg.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 classorg.eclipse.jgit.revwalk.RevWalk
- Throws:
org.eclipse.jgit.errors.MissingObjectException
org.eclipse.jgit.errors.IncorrectObjectTypeException
IOException
-