|
FindBugs™ 1.3.9 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.umd.cs.findbugs.BugCategory
public class BugCategory
A BugCategory object collects all of the metadata for a category of bugs. BugCategories derive from the BugCategory elements in messages*.xml files.
Constructor Summary | |
---|---|
BugCategory(java.lang.String category,
java.lang.String shortDescription)
Constructor. |
|
BugCategory(java.lang.String category,
java.lang.String shortDescription,
java.lang.String abbrev,
java.lang.String detailText)
Constructor. |
Method Summary | |
---|---|
int |
compareTo(BugCategory other)
|
boolean |
equals(java.lang.Object o)
|
java.lang.String |
getAbbrev()
Get the abbreviation (usually a single capital letter). |
java.lang.String |
getCategory()
Get the category. |
java.lang.String |
getDetailText()
Get the detail text describing the category. |
java.lang.String |
getShortDescription()
Get the short description (usually a word or three) |
int |
hashCode()
|
void |
setAbbrev(java.lang.String abbrev)
Set the abbreviation (typically a single capital letter) |
void |
setDetailText(java.lang.String detailText)
Set the detail text describing the category. |
java.lang.String |
toString()
suitable for debugging. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public BugCategory(java.lang.String category, java.lang.String shortDescription, java.lang.String abbrev, java.lang.String detailText)
category
- the categoryshortDescription
- short (a word or three) description of the bug speciesabbrev
- the abbreviation (typically a single capital letter)detailText
- full description of the bug category (no HTML markup, may be null)public BugCategory(java.lang.String category, java.lang.String shortDescription)
category
- the categoryshortDescription
- short (a word or three) description of the bug speciesMethod Detail |
---|
public java.lang.String getCategory()
public java.lang.String getShortDescription()
public java.lang.String getAbbrev()
public java.lang.String getDetailText()
public void setAbbrev(java.lang.String abbrev)
public void setDetailText(java.lang.String detailText)
public int compareTo(BugCategory other)
compareTo
in interface java.lang.Comparable<BugCategory>
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
|
FindBugs™ 1.3.9 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |