|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objecthudson.plugins.findbugs.util.model.AbstractAnnotation
hudson.plugins.findbugs.parser.Bug
public class Bug
A serializable Java Bean class representing a warning.
Note: this class has a natural ordering that is inconsistent with equals.
| Constructor Summary | |
|---|---|
Bug(Priority priority,
java.lang.String message,
java.lang.String category,
java.lang.String type)
Creates a new instance of Bug that has no associated line in code (file warning). |
|
Bug(Priority priority,
java.lang.String message,
java.lang.String category,
java.lang.String type,
int lineNumber)
Creates a new instance of Bug. |
|
Bug(Priority priority,
java.lang.String message,
java.lang.String category,
java.lang.String type,
int start,
int end)
Creates a new instance of Bug. |
|
Bug(Priority priority,
java.lang.String message,
java.lang.String category,
java.lang.String type,
int start,
int end,
java.lang.String tooltip)
Creates a new instance of Bug. |
|
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object obj)
|
java.lang.String |
getToolTip()
Returns the a detailed description that will be used as tooltip. |
int |
hashCode()
|
void |
setInstanceHash(java.lang.String instanceHash)
Sets the unique hash code of this bug. |
| Methods inherited from class hudson.plugins.findbugs.util.model.AbstractAnnotation |
|---|
addLineRange, canDisplayFile, getCategory, getFileName, getKey, getLineRanges, getMessage, getModuleName, getPackageName, getPrimaryLineNumber, getPriority, getShortFileName, getType, setFileName, setModuleName, setPackageName |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Bug(Priority priority,
java.lang.String message,
java.lang.String category,
java.lang.String type,
int start,
int end)
Bug.
priority - the prioritymessage - the message of the warningcategory - the warning categorytype - the identifier of the warning typestart - the first line of the line rangeend - the last line of the line range
public Bug(Priority priority,
java.lang.String message,
java.lang.String category,
java.lang.String type,
int lineNumber)
Bug.
priority - the prioritymessage - the message of the warningcategory - the warning categorytype - the identifier of the warning typelineNumber - the line number of the warning in the corresponding file
public Bug(Priority priority,
java.lang.String message,
java.lang.String category,
java.lang.String type)
Bug that has no associated line in code (file warning).
priority - the prioritymessage - the message of the warningcategory - the warning categorytype - the identifier of the warning type
public Bug(Priority priority,
java.lang.String message,
java.lang.String category,
java.lang.String type,
int start,
int end,
java.lang.String tooltip)
Bug.
priority - the prioritymessage - the message of the warningcategory - the warning categorytype - the identifier of the warning typestart - the first line of the line rangeend - the last line of the line rangetooltip - the tooltip to show| Method Detail |
|---|
public java.lang.String getToolTip()
public void setInstanceHash(java.lang.String instanceHash)
instanceHash - the instance hash as generated by the FindBugs librarypublic int hashCode()
hashCode in class AbstractAnnotationpublic boolean equals(java.lang.Object obj)
equals in class AbstractAnnotation
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||