Class Candidate.HeadCandidate
java.lang.Object
org.eclipse.jgit.blame.Candidate
org.eclipse.jgit.blame.Candidate.HeadCandidate
- Enclosing class:
Candidate
A
Candidate to blame a working tree file in conflict state.
Contrary to Candidate.BlobCandidate, it expects to be given the parent
commits (typically HEAD and the MERGE_HEADs) and behaves like a merge
commit during blame. It does not consider a previously pushed
Candidate as its parent.
-
Nested Class Summary
Nested classes/interfaces inherited from class Candidate
Candidate.BlobCandidate, Candidate.HeadCandidate, Candidate.ReverseCandidate -
Field Summary
FieldsFields inherited from class Candidate
queueNext, regionList, renameScore, sourceBlob, sourceCommit, sourcePath, sourceText -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) void(package private) voidbeginResult(RevWalk rw) (package private) PersonIdent(package private) RevCommitgetParent(int idx) (package private) int(package private) intgetTime()(package private) boolean(package private) voidMethods inherited from class Candidate
canMergeRegions, copy, create, getNextCandidate, loadText, mergeRegions, takeBlame, toString
-
Field Details
-
parents
-
-
Constructor Details
-
HeadCandidate
HeadCandidate(Repository repo, PathFilter path, List<RevCommit> parents)
-
-
Method Details
-
beginResult
- Overrides:
beginResultin classCandidate
-
getParentCount
int getParentCount()- Overrides:
getParentCountin classCandidate
-
getParent
-
has
-
add
-
remove
-
getTime
-
getAuthor
PersonIdent getAuthor()
-