public abstract class Annotations
extends java.lang.Object
| Constructor and Description |
|---|
Annotations() |
| Modifier and Type | Method and Description |
|---|---|
abstract java.lang.String |
getAuthor(int lineNumber)
Get the author of the last change for the given
lineNumber |
java.util.Collection<java.lang.String> |
getBugNumbers(int lineNumber)
Get the bug numbers associated with the given line number.
|
abstract java.util.Date |
getChanged(int lineNumber)
Get the date of the last change for the given
lineNumber |
java.lang.String |
getComment(int lineNumber)
Get the comment associated with the given line number.
|
java.util.Collection<javax.swing.Action> |
getCompareActions(int lineNumber)
Get compare actions (compare previous, compare head etc)
|
java.lang.String |
getExtendedRevision(int lineNumber)
Get the an extended revision of the last change for the given
lineNumber. |
abstract java.lang.String |
getLine(int lineNumber)
Get the content (line itself) of the given
lineNumber |
abstract int |
getLineCount()
Get the number of annotated lines
|
AnnotateLink |
getLink() |
abstract java.lang.String |
getRevision(int lineNumber)
Get the revision of the last change for the given
lineNumber |
java.net.URL |
getURL()
Get the url of the annotated file
|
public abstract java.util.Date getChanged(int lineNumber)
lineNumberlineNumber - public abstract java.lang.String getRevision(int lineNumber)
lineNumberlineNumber - public java.lang.String getExtendedRevision(int lineNumber)
lineNumber. This could be the branch and revision identifer,
if a non value is return, the value is used in preference to getRevisionlineNumber - public abstract java.lang.String getAuthor(int lineNumber)
lineNumberlineNumber - public abstract java.lang.String getLine(int lineNumber)
lineNumberlineNumber - public abstract int getLineCount()
public java.lang.String getComment(int lineNumber)
lineNumber - the line numbernull if there is no commentpublic java.net.URL getURL()
public java.util.Collection<java.lang.String> getBugNumbers(int lineNumber)
lineNumber - the line numberpublic AnnotateLink getLink()
public java.util.Collection<javax.swing.Action> getCompareActions(int lineNumber)