FindBugs™ 1.3.9

edu.umd.cs.findbugs.gui2
Class FilterMatcher

java.lang.Object
  extended by edu.umd.cs.findbugs.gui2.FilterMatcher
All Implemented Interfaces:
Matcher, java.io.Serializable, java.lang.Comparable<FilterMatcher>
Direct Known Subclasses:
DeadBugFilter, StackedFilterMatcher

Deprecated.

@Deprecated
public class FilterMatcher
extends java.lang.Object
implements Matcher, java.io.Serializable, java.lang.Comparable<FilterMatcher>

Why this wasn't just called Filter is still somewhat of a mystery. FilterMatchers are Filters, pass in a StringPair like Priority, High and all the high priority bugs disappear, Its that easy.

See Also:
Serialized Form

Field Summary
protected  boolean active
          Deprecated.  
 
Constructor Summary
FilterMatcher(edu.umd.cs.findbugs.gui2.BugAspects.SortableValue sp)
          Deprecated.  
FilterMatcher(Sortables filterBy, java.lang.String value)
          Deprecated.  
FilterMatcher(Sortables filterBy, java.lang.String value, edu.umd.cs.findbugs.gui2.FilterMatcher.FilterWhere mode)
          Deprecated.  
 
Method Summary
 int compareTo(FilterMatcher that)
          Deprecated.  
 boolean equals(java.lang.Object o)
          Deprecated.  
 int hashCode()
          Deprecated.  
 boolean isActive()
          Deprecated.  
 boolean match(BugInstance bugInstance)
          Deprecated. Determine whether or not the given BugInstance has the feature this Matcher tests for.
 void setActive(boolean active)
          Deprecated.  
 java.lang.String toString()
          Deprecated.  
 void writeXML(XMLOutput xmlOutput, boolean disabled)
          Deprecated.  
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

active

protected boolean active
Deprecated. 
Constructor Detail

FilterMatcher

public FilterMatcher(edu.umd.cs.findbugs.gui2.BugAspects.SortableValue sp)
Deprecated. 

FilterMatcher

public FilterMatcher(Sortables filterBy,
                     java.lang.String value,
                     edu.umd.cs.findbugs.gui2.FilterMatcher.FilterWhere mode)
Deprecated. 

FilterMatcher

public FilterMatcher(Sortables filterBy,
                     java.lang.String value)
Deprecated. 
Method Detail

setActive

public void setActive(boolean active)
Deprecated. 

isActive

public boolean isActive()
Deprecated. 

match

public boolean match(BugInstance bugInstance)
Deprecated. 
Description copied from interface: Matcher
Determine whether or not the given BugInstance has the feature this Matcher tests for.

Specified by:
match in interface Matcher
Parameters:
bugInstance - the BugInstance
Returns:
true if the BugInstance matches, false if not

toString

public java.lang.String toString()
Deprecated. 
Overrides:
toString in class java.lang.Object

equals

public boolean equals(java.lang.Object o)
Deprecated. 
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Deprecated. 
Overrides:
hashCode in class java.lang.Object

compareTo

public int compareTo(FilterMatcher that)
Deprecated. 
Specified by:
compareTo in interface java.lang.Comparable<FilterMatcher>

writeXML

public void writeXML(XMLOutput xmlOutput,
                     boolean disabled)
              throws java.io.IOException
Deprecated. 
Specified by:
writeXML in interface Matcher
Throws:
java.io.IOException

FindBugs™ 1.3.9

FindBugs™ is licenced under the LGPL. Copyright © 2006 University of Maryland.