public class BugPattern extends Object implements Comparable<BugPattern>
BugInstance| Constructor and Description |
|---|
BugPattern(String type,
String abbrev,
String category,
boolean experimental,
String shortDescription,
String longDescription,
String detailText,
String bugsUrl,
int cweid)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
adjustPriority(int change) |
int |
compareTo(BugPattern other) |
boolean |
equals(Object o) |
String |
getAbbrev()
Get the BugKind
|
BugCode |
getBugCode()
Get the BugCode
|
String |
getCategory()
Get the BugCategory
|
String |
getCategoryAbbrev() |
int |
getCWEid() |
String |
getDetailHTML()
Get the detail text as a complete HTML document.
|
String |
getDetailHTML(String detailText) |
String |
getDetailPlainText()
Get the Plain text describing the bug.
|
String |
getDetailText()
Get the HTML detail text describing the bug.
|
String |
getLongDescription()
Get the long description.
|
int |
getPriorityAdjustment() |
String |
getShortDescription()
Get the short description.
|
String |
getType()
Get the BugPattern
|
int |
hashCode() |
boolean |
isDeprecated() |
boolean |
isExperimental()
Is the bug pattern experimental?
|
String |
toString() |
String |
wrapInDescriptionLink(String text) |
public BugPattern(String type, String abbrev, String category, boolean experimental, String shortDescription, String longDescription, String detailText, String bugsUrl, int cweid)
type - the type (species) of BugInstanceabbrev - the abbreviation or "bug code"; see BugCodecategory - the categoryexperimental - true if the bug pattern is experimentalshortDescription - short one-line description of the bug specieslongDescription - longer one-line description; may contain placeholders for use
by FindBugsMessageFormat to format BugAnnotationsdetailText - HTML text containing a full description of the bug speciesbugsUrl - URL of web-page containing bug descriptions or null if there's no such page.public String getType()
public String getAbbrev()
public String getCategory()
public int getPriorityAdjustment()
public void adjustPriority(int change)
public String getCategoryAbbrev()
public boolean isExperimental()
public String getShortDescription()
public String getLongDescription()
public String getDetailText()
public String getDetailPlainText()
public String getDetailHTML()
public int compareTo(BugPattern other)
compareTo in interface Comparable<BugPattern>public int getCWEid()
public boolean isDeprecated()
Copyright © 2003–2015. All rights reserved.