Class FilterMatcher

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

@Deprecated public class FilterMatcher extends Object implements Matcher, Serializable, Comparable<FilterMatcher>
Deprecated.
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:
  • Field Details

    • active

      protected boolean active
      Deprecated.
  • Constructor Details

    • FilterMatcher

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

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

      public FilterMatcher(Sortables filterBy, String value)
      Deprecated.
  • Method Details

    • 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 String toString()
      Deprecated.
      Overrides:
      toString in class Object
    • equals

      public boolean equals(Object o)
      Deprecated.
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Deprecated.
      Overrides:
      hashCode in class Object
    • compareTo

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

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