Class FilterMatcher

  • All Implemented Interfaces:
    Matcher, java.io.Serializable, java.lang.Comparable<FilterMatcher>
    Direct Known Subclasses:
    DeadBugFilter, StackedFilterMatcher

    @Deprecated
    public class FilterMatcher
    extends java.lang.Object
    implements Matcher, java.io.Serializable, java.lang.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:
    Serialized Form
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected boolean active
      Deprecated.
       
    • Constructor Summary

      Constructors 
      Constructor Description
      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.
       
    • 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