|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface FileAnnotation
Annotates a collection of line ranges in a file. An annotation consists of a description and a tooltip.
| Method Summary | |
|---|---|
boolean |
canDisplayFile(hudson.model.AbstractBuild<?,?> owner)
Checks if the file exists. |
java.lang.String |
getCategory()
Returns the category of the annotation. |
java.lang.String |
getFileName()
Returns the absolute path of the workspace file that contains this annotation. |
long |
getKey()
Returns the unique key of this annotation. |
java.util.Collection<LineRange> |
getLineRanges()
Returns a collection of line ranges for this annotation. |
java.lang.String |
getMessage()
Returns the message of this annotation. |
java.lang.String |
getModuleName()
Returns the name of the maven or ant module that contains this annotation. |
java.lang.String |
getPackageName()
Returns the name of package (or namespace) that contains this annotation. |
int |
getPrimaryLineNumber()
Returns the primary line number of this annotation that defines the anchor of this annotation. |
Priority |
getPriority()
Returns the priority of this annotation. |
java.lang.String |
getShortFileName()
Gets the associated file name of this bug (without path). |
java.lang.String |
getTempName(hudson.model.AbstractBuild<?,?> owner)
Returns a file name for a temporary file that will hold the contents of the source. |
java.lang.String |
getToolTip()
Returns the a detailed description that will be used as tooltip. |
java.lang.String |
getType()
Returns the annotation type. |
void |
setFileName(java.lang.String fileName)
Sets the file name to the specified value. |
void |
setModuleName(java.lang.String moduleName)
Sets the name of the maven or ant module that contains this annotation. |
| Methods inherited from interface java.lang.Comparable |
|---|
compareTo |
| Method Detail |
|---|
java.lang.String getMessage()
java.lang.String getToolTip()
int getPrimaryLineNumber()
java.util.Collection<LineRange> getLineRanges()
long getKey()
Priority getPriority()
java.lang.String getFileName()
java.lang.String getTempName(hudson.model.AbstractBuild<?,?> owner)
owner - the owner that provides the root directory where the files are
stored
void setFileName(java.lang.String fileName)
fileName - the value to setboolean canDisplayFile(hudson.model.AbstractBuild<?,?> owner)
owner - the owner that provides the root directory where the files are
stored
true, if successfuljava.lang.String getShortFileName()
java.lang.String getModuleName()
void setModuleName(java.lang.String moduleName)
moduleName - the name of the module that contains this annotationjava.lang.String getPackageName()
java.lang.String getCategory()
java.lang.String getType()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||