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 Detail

      • serialVersionUID

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

        private final Sortables filterBy
        Deprecated.
      • value

        private final java.lang.String value
        Deprecated.
      • active

        protected boolean active
        Deprecated.
    • Method Detail

      • getFilterBy

        Sortables getFilterBy()
        Deprecated.
      • getValue

        java.lang.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 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