edu.umd.cs.findbugs
public class BugProperty extends Object implements XMLWriteable, Serializable, Cloneable
| Field Summary | |
|---|---|
| static String | IS_BUG Boolean property defining whether or not the BugInstance is really a bug. |
| static String | SEVERITY Integer property defining the warning severity (1=least severe, 5=most severe). |
| Method Summary | |
|---|---|
| String | getName()
Get name of property.
|
| String | getValue()
Get value of property.
|
| boolean | getValueAsBoolean()
Get value of property as boolean.
|
| int | getValueAsInt()
Get value of property as an integer.
|
| void | setValue(String value)
Set value of property.
|
| void | writeXML(XMLOutput xmlOutput) |
Returns: name of property
Returns: value of property
Returns: value of property as a boolean
Returns: value of property as integer
Throws: NumberFormatException if the value cannot be parsed as an integer
Parameters: value