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, writeChildrenXML
public Filter()
public Filter(java.lang.String fileName) throws java.io.IOException
fileName
- name of the filter filejava.io.IOException
public Filter(java.io.InputStream stream) throws java.io.IOException
stream
- content of the filter filejava.io.IOException
public int hashCode()
hashCode
in class CompoundMatcher
public boolean equals(java.lang.Object obj)
equals
in class CompoundMatcher
public 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.IOException
public boolean contains(Matcher child)
public void softAdd(Matcher child)
child
- public void addChild(Matcher child)
addChild
in class CompoundMatcher
public void removeChild(Matcher child)
removeChild
in class CompoundMatcher
public void clear()
clear
in class CompoundMatcher
public boolean match(BugInstance bugInstance)
Matcher
public static void main(java.lang.String[] argv)
public void writeAsXML(@WillClose java.io.OutputStream out) throws java.io.IOException
java.io.IOException
public void writeEnabledMatchersAsXML(@WillClose java.io.OutputStream out) throws java.io.IOException
java.io.IOException
public void writeBodyAsXML(XMLOutput xmlOutput) throws java.io.IOException
java.io.IOException
FindBugs™ is licenced under the LGPL. Copyright © 2006 University of Maryland.