Package org.eclipse.jgit.blame
Class Candidate.ReverseCandidate
java.lang.Object
org.eclipse.jgit.blame.Candidate
org.eclipse.jgit.blame.Candidate.ReverseCandidate
- Enclosing class:
- Candidate
Special candidate type used for reverse blame.
Reverse blame inverts the commit history graph to follow from a commit to
its descendant children, rather than the normal history direction of
child to parent. These types require a ReverseWalk.ReverseCommit
which keeps
children pointers, allowing reverse navigation of history.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.eclipse.jgit.blame.Candidate
Candidate.BlobCandidate, Candidate.HeadCandidate, Candidate.ReverseCandidate
-
Field Summary
Fields inherited from class org.eclipse.jgit.blame.Candidate
queueNext, regionList, renameScore, sourceBlob, sourceCommit, sourcePath, sourceText
-
Constructor Summary
ConstructorsConstructorDescriptionReverseCandidate
(Repository repo, ReverseWalk.ReverseCommit commit, PathFilter path) -
Method Summary
Modifier and TypeMethodDescription(package private) Candidate
create
(Repository repo, RevCommit commit, PathFilter path) (package private) RevCommit
getParent
(int idx) (package private) int
(package private) int
getTime()
toString()
Methods inherited from class org.eclipse.jgit.blame.Candidate
add, beginResult, canMergeRegions, copy, getAuthor, getNextCandidate, has, loadText, mergeRegions, remove, takeBlame
-
Constructor Details
-
ReverseCandidate
ReverseCandidate(Repository repo, ReverseWalk.ReverseCommit commit, PathFilter path)
-
-
Method Details
-
getParentCount
int getParentCount()- Overrides:
getParentCount
in classCandidate
-
getParent
-
getTime
int getTime() -
create
-
toString
Description copied from class:Candidate
-