Package org.eclipse.jgit.blame
Class Candidate.BlobCandidate
java.lang.Object
org.eclipse.jgit.blame.Candidate
org.eclipse.jgit.blame.Candidate.BlobCandidate
- Enclosing class:
- Candidate
Candidate loaded from a file source, and not a commit.
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.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.eclipse.jgit.blame.Candidate
Candidate.BlobCandidate, Candidate.HeadCandidate, Candidate.ReverseCandidate -
Field Summary
FieldsModifier and TypeFieldDescription(package private) StringAuthor name to refer to this blob with.(package private) CandidateNext candidate to pass blame onto.Fields 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) voidbeginResult(RevWalk rw) (package private) PersonIdent(package private) CandidategetNextCandidate(int idx) (package private) RevCommitgetParent(int idx) (package private) int(package private) intgetTime()(package private) boolean(package private) voidMethods inherited from class org.eclipse.jgit.blame.Candidate
canMergeRegions, copy, create, loadText, mergeRegions, takeBlame, toString
-
Field Details
-
Constructor Details
-
BlobCandidate
BlobCandidate(Repository repo, String name, PathFilter path)
-
-
Method Details
-
beginResult
- Overrides:
beginResultin classCandidate
-
getParentCount
int getParentCount()- Overrides:
getParentCountin classCandidate
-
getParent
-
getNextCandidate
- Overrides:
getNextCandidatein classCandidate
-
has
-
add
-
remove
-
getTime
int getTime() -
getAuthor
PersonIdent getAuthor()
-