|
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.BugProperty
public class BugProperty
Name/value metadata pair that may be attached to a BugInstance. These are different from BugAnnotations because they are not meant to be shown directly to the user.
Field Summary | |
---|---|
static java.lang.String |
IS_BUG
Boolean property defining whether or not the BugInstance is really a bug. |
static java.lang.String |
SEVERITY
Integer property defining the warning severity (1=least severe, 5=most severe). |
Method Summary | |
---|---|
protected java.lang.Object |
clone()
|
java.lang.String |
getName()
Get name of property. |
java.lang.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(java.lang.String value)
Set value of property. |
void |
writeXML(XMLOutput xmlOutput)
Write this object to given XMLOutput. |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String IS_BUG
public static final java.lang.String SEVERITY
Method Detail |
---|
protected java.lang.Object clone()
clone
in class java.lang.Object
public java.lang.String getName()
public java.lang.String getValue()
public boolean getValueAsBoolean()
public int getValueAsInt()
java.lang.NumberFormatException
- if the value cannot be parsed as
an integerpublic void setValue(java.lang.String value)
value
- public void writeXML(XMLOutput xmlOutput) throws java.io.IOException
XMLWriteable
writeXML
in interface XMLWriteable
xmlOutput
- the XMLOutput for the document
java.io.IOException
|
FindBugs™ 1.3.9 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |