org.netbeans.libs.git/1 1.1

org.netbeans.libs.git
Class GitBlameResult

java.lang.Object
  extended by org.netbeans.libs.git.GitBlameResult

public final class GitBlameResult
extends Object

Result of a blame command, wraps line annotations for a given file.


Method Summary
 File getBlamedFile()
           
 int getLineCount()
           
 GitLineDetails getLineDetails(int lineNumber)
          Returns a line annotation for a line specified by the given line number
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

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

org.netbeans.libs.git/1 1.1

Built on May 22 2012.  |  Portions Copyright 1997-2012 Oracle. All rights reserved.