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) String
Author name to refer to this blob with.(package private) Candidate
Next 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) void
beginResult
(RevWalk rw) (package private) PersonIdent
(package private) Candidate
getNextCandidate
(int idx) (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, loadText, mergeRegions, takeBlame, toString
-
Field Details
-
Constructor Details
-
BlobCandidate
BlobCandidate(Repository repo, String name, PathFilter path)
-
-
Method Details
-
beginResult
- Overrides:
beginResult
in classCandidate
-
getParentCount
int getParentCount()- Overrides:
getParentCount
in classCandidate
-
getParent
-
getNextCandidate
- Overrides:
getNextCandidate
in classCandidate
-
has
-
add
-
remove
-
getTime
int getTime() -
getAuthor
PersonIdent getAuthor()
-