children| Constructor and Description |
|---|
Filter()
Constructor for empty filter
|
Filter(java.io.InputStream stream)
Constructor.
|
Filter(java.lang.String fileName)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addChild(Matcher child) |
void |
clear() |
boolean |
contains(Matcher child) |
void |
disable(Matcher m) |
void |
enable(Matcher m) |
boolean |
equals(java.lang.Object obj) |
int |
hashCode() |
boolean |
isEmpty() |
boolean |
isEnabled(Matcher m) |
static void |
main(java.lang.String[] argv) |
boolean |
match(BugInstance bugInstance)
Determine whether or not the given BugInstance has the feature this
Matcher tests for.
|
static Filter |
parseFilter(java.lang.String fileName) |
void |
removeChild(Matcher child) |
void |
setEnabled(Matcher m,
boolean value) |
void |
softAdd(Matcher child)
Add if not present, but do not enable if already present and disabled
|
void |
writeAsXML(java.io.OutputStream out) |
void |
writeBodyAsXML(XMLOutput xmlOutput) |
void |
writeEnabledMatchersAsXML(java.io.OutputStream out) |
childIterator, getChildren, maxChildren, numberChildren, writeChildrenXMLpublic Filter()
public Filter(java.lang.String fileName)
throws java.io.IOException
fileName - name of the filter filejava.io.IOExceptionpublic Filter(java.io.InputStream stream)
throws java.io.IOException
stream - content of the filter filejava.io.IOExceptionpublic int hashCode()
hashCode in class CompoundMatcherpublic boolean equals(java.lang.Object obj)
equals in class CompoundMatcherpublic boolean isEmpty()
public void setEnabled(Matcher m, boolean value)
public void disable(Matcher m)
public boolean isEnabled(Matcher m)
public void enable(Matcher m)
public static Filter parseFilter(java.lang.String fileName) throws java.io.IOException
java.io.IOExceptionpublic boolean contains(Matcher child)
public void softAdd(Matcher child)
child - public void addChild(Matcher child)
addChild in class CompoundMatcherpublic void removeChild(Matcher child)
removeChild in class CompoundMatcherpublic void clear()
clear in class CompoundMatcherpublic boolean match(BugInstance bugInstance)
Matcherpublic static void main(java.lang.String[] argv)
public void writeAsXML(@WillClose
java.io.OutputStream out)
throws java.io.IOException
java.io.IOExceptionpublic void writeEnabledMatchersAsXML(@WillClose
java.io.OutputStream out)
throws java.io.IOException
java.io.IOExceptionpublic void writeBodyAsXML(XMLOutput xmlOutput) throws java.io.IOException
java.io.IOExceptionFindBugs™ is licenced under the LGPL. Copyright © 2006 University of Maryland.