Class TestMethodTagPredicate

java.lang.Object
org.antublue.test.engine.internal.discovery.predicate.RegexPredicate<Method>
org.antublue.test.engine.internal.discovery.predicate.TestMethodTagPredicate
All Implemented Interfaces:
Predicate<Method>

public final class TestMethodTagPredicate extends RegexPredicate<Method>
Class to implement a test method tag predicate
  • Method Details

    • test

      public boolean test(Method method)
      Method to test the Predicate
      Specified by:
      test in interface Predicate<Method>
      Specified by:
      test in class RegexPredicate<Method>
      Parameters:
      method - the input argument
      Returns:
      whether to accept the method
    • of

      public static TestMethodTagPredicate of(String regex)
      Method to create an instance of a TestMethodTagPredicate
      Parameters:
      regex - regex
      Returns:
      the return value