Package org.eclipse.jgit.blame
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 org.eclipse.jgit.blame.Candidate
Candidate.BlobCandidate, Candidate.HeadCandidate, Candidate.ReverseCandidate
-
Field Summary
FieldsFields inherited from class org.eclipse.jgit.blame.Candidate
queueNext, regionList, renameScore, sourceBlob, sourceCommit, sourcePath, sourceText
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) void
(package private) void
beginResult
(RevWalk rw) (package private) PersonIdent
(package private) RevCommit
getParent
(int idx) (package private) int
(package private) int
getTime()
(package private) boolean
(package private) void
Methods inherited from class org.eclipse.jgit.blame.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:
beginResult
in classCandidate
-
getParentCount
int getParentCount()- Overrides:
getParentCount
in classCandidate
-
getParent
-
has
-
add
-
remove
-
getTime
int getTime() -
getAuthor
PersonIdent getAuthor()
-