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.ReverseCommitwhich 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) Candidatecreate(Repository repo, RevCommit commit, PathFilter path)(package private) RevCommitgetParent(int idx)(package private) intgetParentCount()(package private) intgetTime()java.lang.StringtoString()-
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:
getParentCountin classCandidate
-
create
Candidate create(Repository repo, RevCommit commit, PathFilter path)
-
-