|
||||||||||
| 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. |
String |
getCategory()
Returns the category of the annotation. |
long |
getContextHashCode()
Returns a hash code of the surrounding context of this annotation. |
String |
getFileName()
Returns the absolute path of the workspace file that contains this annotation. |
long |
getKey()
Returns the unique key of this annotation. |
Collection<LineRange> |
getLineRanges()
Returns a collection of line ranges for this annotation. |
String |
getLinkName()
Returns the name of this annotation that could be used as text in links. |
String |
getMessage()
Returns the message of this annotation. |
String |
getModuleName()
Returns the name of the maven or ant module that contains this annotation. |
String |
getOrigin()
Returns the origin of the annotation. |
String |
getPackageName()
Returns the name of package (or namespace) that contains this annotation. |
String |
getPathName()
Returns the path name of this annotation (relative path to the affected file). |
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. |
String |
getShortFileName()
Gets the associated file name of this bug (without path). |
String |
getTempName(hudson.model.AbstractBuild<?,?> owner)
Returns a file name for a temporary file that will hold the contents of the source. |
String |
getToolTip()
Returns the a detailed description that will be used as tooltip. |
String |
getType()
Returns the annotation type. |
boolean |
hasPackageName()
Returns whether a package name is defined for this annotation. |
void |
setContextHashCode(long contextHashCode)
Sets the context hash code to the specified value. |
void |
setFileName(String fileName)
Sets the file name to the specified value. |
void |
setModuleName(String moduleName)
Sets the name of the maven or ant module that contains this annotation. |
void |
setPathName(String workspacePath)
Sets the pathname for this warning. |
| Methods inherited from interface java.lang.Comparable |
|---|
compareTo |
| Method Detail |
|---|
String getMessage()
String getToolTip()
int getPrimaryLineNumber()
Collection<LineRange> getLineRanges()
long getKey()
Priority getPriority()
String getFileName()
String getLinkName()
String getTempName(hudson.model.AbstractBuild<?,?> owner)
owner - the owner that provides the root directory where the files are
stored
void setFileName(String fileName)
fileName - the value to setvoid setPathName(String workspacePath)
workspacePath - the workspace pathboolean canDisplayFile(hudson.model.AbstractBuild<?,?> owner)
owner - the owner that provides the root directory where the files are
stored
true, if successfulString getShortFileName()
String getModuleName()
void setModuleName(String moduleName)
moduleName - the name of the module that contains this annotationString getPackageName()
boolean hasPackageName()
true if this annotation has a package or namespace name,
false otherwiseString getPathName()
String getOrigin()
String getCategory()
String getType()
long getContextHashCode()
void setContextHashCode(long contextHashCode)
contextHashCode - the value to set
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||