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

    • serialVersionUID

      private static final long serialVersionUID
      Deprecated.
      See Also:
    • filterBy

      private final Sortables filterBy
      Deprecated.
    • value

      private final String value
      Deprecated.
    • mode

      private final FilterMatcher.FilterWhere mode
      Deprecated.
    • active

      protected boolean active
      Deprecated.
  • Constructor Details

  • Method Details

    • getFilterBy

      Sortables getFilterBy()
      Deprecated.
    • getValue

      String getValue()
      Deprecated.
    • 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