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
static final class Candidate.ReverseCandidate extends 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
Constructors Constructor Description ReverseCandidate(Repository repo, ReverseWalk.ReverseCommit commit, PathFilter path)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description (package private) Candidate
create(Repository repo, RevCommit commit, PathFilter path)
(package private) RevCommit
getParent(int idx)
(package private) int
getParentCount()
(package private) int
getTime()
java.lang.String
toString()
-
Methods inherited from class org.eclipse.jgit.blame.Candidate
add, beginResult, canMergeRegions, copy, getAuthor, getNextCandidate, has, loadText, mergeRegions, remove, takeBlame
-
-
-
-
Constructor Detail
-
ReverseCandidate
ReverseCandidate(Repository repo, ReverseWalk.ReverseCommit commit, PathFilter path)
-
-
Method Detail
-
getParentCount
int getParentCount()
- Overrides:
getParentCount
in classCandidate
-
create
Candidate create(Repository repo, RevCommit commit, PathFilter path)
-
-