Class MatchAllFilter

  • All Implemented Interfaces:
    DynamicFilter

    public class MatchAllFilter
    extends java.lang.Object
    implements DynamicFilter
    Filter that does matches anything. Provides no validation information, so should only be used for support services which are not able to specify at build-time which tests they will filter.
    • Constructor Summary

      Constructors 
      Constructor Description
      MatchAllFilter()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean matches​(java.lang.String testName, ConsumableTestDefinition testDefinition)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • MatchAllFilter

        public MatchAllFilter()
    • Method Detail

      • matches

        public boolean matches​(@Nullable
                               java.lang.String testName,
                               ConsumableTestDefinition testDefinition)
        Specified by:
        matches in interface DynamicFilter
        Parameters:
        testName - if null or empty string, only match testDefinition
        Returns:
        true if the testname or the definition match the filter