Class TestClassTagPredicate

java.lang.Object
org.antublue.test.engine.internal.discovery.predicate.RegexPredicate<Class<?>>
org.antublue.test.engine.internal.discovery.predicate.TestClassTagPredicate
All Implemented Interfaces:
Predicate<Class<?>>

public final class TestClassTagPredicate extends RegexPredicate<Class<?>>
Class to implement a test class tag Predicate
  • Method Details

    • test

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

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