java.lang.Comparable<BugCategory>
public class BugCategory extends java.lang.Object implements java.lang.Comparable<BugCategory>
Constructor | Description |
---|---|
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.
|
Modifier and Type | Method | Description |
---|---|---|
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.
|
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 speciespublic 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™ is licenced under the LGPL. Copyright © 2006 University of Maryland.