org.netbeans.libs.git
Class GitBlameResult
java.lang.Object
org.netbeans.libs.git.GitBlameResult
public final class GitBlameResult
- extends Object
Result of a blame command, wraps line annotations for a given file.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
getBlamedFile
public File getBlamedFile()
- Returns:
- annotated file
getLineCount
public int getLineCount()
- Returns:
- number of collected line annotations
getLineDetails
public GitLineDetails getLineDetails(int lineNumber)
- Returns a line annotation for a line specified by the given line number
- Parameters:
lineNumber - line number
- Returns:
- line annotation or
null if no line annotation is available for the given line number