static final class Candidate.BlobCandidate extends Candidate
The Candidate.sourceCommit field is always null on this type of
candidate. Instead history traversal follows the single parent
field to discover the next Candidate. Often this is a normal Candidate
type that has a valid sourceCommit.
Candidate.BlobCandidate, Candidate.ReverseCandidate| Modifier and Type | Field and Description |
|---|---|
(package private) java.lang.String |
description
Author name to refer to this blob with.
|
(package private) Candidate |
parent
Next candidate to pass blame onto.
|
queueNext, regionList, renameScore, sourceBlob, sourceCommit, sourcePath, sourceText| Constructor and Description |
|---|
BlobCandidate(Repository repo,
java.lang.String name,
PathFilter path) |
| Modifier and Type | Method and Description |
|---|---|
(package private) void |
add(RevFlag flag) |
(package private) void |
beginResult(RevWalk rw) |
(package private) PersonIdent |
getAuthor() |
(package private) Candidate |
getNextCandidate(int idx) |
(package private) RevCommit |
getParent(int idx) |
(package private) int |
getParentCount() |
(package private) int |
getTime() |
(package private) boolean |
has(RevFlag flag) |
(package private) void |
remove(RevFlag flag) |
canMergeRegions, copy, create, loadText, mergeRegions, takeBlame, toStringCandidate parent
When computing the differences that this candidate introduced to the file content, the parent's sourceText is used as the base.
java.lang.String description
BlobCandidate(Repository repo, java.lang.String name, PathFilter path)
void beginResult(RevWalk rw)
beginResult in class Candidateint getParentCount()
getParentCount in class CandidateCandidate getNextCandidate(int idx)
getNextCandidate in class CandidatePersonIdent getAuthor()