org.eclipse.jgit.blame.BlameResult for a
file path.
| Modifier and Type | Field and Description |
|---|---|
| private DiffAlgorithm | |
| private Boolean | |
| private String | |
| private Collection | |
| private ObjectId | |
| private RawTextComparator |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public BlameResult | call()
Implements abstract org. Implements java. Computes a result, or throws an exception if unable to do so. |
| public BlameCommand | Returns: thisoldest commit to traverse from. The result file will be loaded
from this commit's tree. start, AnyObjectId most recent commit to stop traversal at. Usually an active
branch tip, tag, or HEAD. end)Configure the command to compute reverse blame (history of deletes). |
| public BlameCommand | Returns: thisoldest commit to traverse from. The result file will be loaded
from this commit's tree. start, Collection<ObjectId> most recent commits to stop traversal at. Usually an active
branch tip, tag, or HEAD. end)Configure the generator to compute reverse blame (history of deletes). |
| public BlameCommand | Returns: this commanda diffAlgorithm)org. object.Set diff algorithm |
| public BlameCommand | |
| public BlameCommand | Returns: thisenable following. follow)Enable (or disable) following file renames. |
| public BlameCommand | |
| public BlameCommand |
| diffAlgorithm | back to summary |
|---|---|
| private DiffAlgorithm diffAlgorithm | |
| followFileRenames | back to summary |
|---|---|
| private Boolean followFileRenames | |
| path | back to summary |
|---|---|
| private String path | |
| reverseEndCommits | back to summary |
|---|---|
| private Collection<ObjectId> reverseEndCommits | |
| startCommit | back to summary |
|---|---|
| private ObjectId startCommit | |
| textComparator | back to summary |
|---|---|
| private RawTextComparator textComparator | |
| BlameCommand | back to summary |
|---|---|
| public BlameCommand(Repository repo) Constructor for BlameCommand
| |
| call | back to summary |
|---|---|
| public BlameResult call() throws GitAPIException Implements abstract org. Implements java. Doc from org. Computes a result, or throws an exception if unable to do so. Execute the command Generate a list of lines with information about when the lines were introduced into the file path.
| |
| reverse | back to summary |
|---|---|
| public BlameCommand reverse(AnyObjectId start, AnyObjectId end) throws IOException Configure the command to compute reverse blame (history of deletes).
| |
| reverse | back to summary |
|---|---|
| public BlameCommand reverse(AnyObjectId start, Collection<ObjectId> end) throws IOException Configure the generator to compute reverse blame (history of deletes).
| |
| setDiffAlgorithm | back to summary |
|---|---|
| public BlameCommand setDiffAlgorithm(DiffAlgorithm diffAlgorithm) Set diff algorithm
| |
| setFilePath | back to summary |
|---|---|
| public BlameCommand setFilePath(String filePath) Set file path.
| |
| setFollowFileRenames | back to summary |
|---|---|
| public BlameCommand setFollowFileRenames(boolean follow) Enable (or disable) following file renames.
If true renames are followed using the standard FollowFilter behavior
used by RevWalk (which matches
| |
| setStartCommit | back to summary |
|---|---|
| public BlameCommand setStartCommit(AnyObjectId commit) Set start commit id
| |
| setTextComparator | back to summary |
|---|---|
| public BlameCommand setTextComparator(RawTextComparator textComparator) Set raw text comparator
| |