Package org.eclipse.jgit.revwalk
Class DepthWalk.Commit
- java.lang.Object
-
- org.eclipse.jgit.lib.AnyObjectId
-
- org.eclipse.jgit.lib.ObjectId
-
- org.eclipse.jgit.lib.ObjectIdOwnerMap.Entry
-
- org.eclipse.jgit.revwalk.RevObject
-
- org.eclipse.jgit.revwalk.RevCommit
-
- org.eclipse.jgit.revwalk.DepthWalk.Commit
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<AnyObjectId>
- Enclosing interface:
- DepthWalk
public static class DepthWalk.Commit extends RevCommit
RevCommit with a depth (in commits) from a root.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description (package private) intdepthDepth of this commit in the graph, via shortest path.(package private) booleanisBoundary(package private) booleanmakesChildBoundaryTrue if this commit was excluded due to a shallow fetch setting.-
Fields inherited from class org.eclipse.jgit.revwalk.RevCommit
commitTime, inDegree, NO_PARENTS, parents
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedCommit(AnyObjectId id)Initialize a new commit.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetDepth()booleanisBoundary()-
Methods inherited from class org.eclipse.jgit.revwalk.RevCommit
carry, carryFlags, disposeBody, getAuthorIdent, getCommitterIdent, getCommitTime, getEncoding, getEncodingName, getFooterLines, getFooterLines, getFooterLines, getFullMessage, getParent, getParentCount, getParents, getRawBuffer, getRawGpgSignature, getShortMessage, getTree, getType, hasLF, parse, parse, parseBody, parseCanonical, parseHeaders, reset, toString
-
Methods inherited from class org.eclipse.jgit.revwalk.RevObject
add, add, appendCoreFlags, getId, has, hasAll, hasAny, remove, remove
-
Methods inherited from class org.eclipse.jgit.lib.ObjectId
equals, fromRaw, fromRaw, fromRaw, fromRaw, fromString, fromString, isId, toObjectId, toString, zeroId
-
-
-
-
Constructor Detail
-
Commit
protected Commit(AnyObjectId id)
Initialize a new commit.- Parameters:
id- object name for the commit.
-
-