Class TestClassPredicate
- java.lang.Object
-
- org.antublue.test.engine.internal.predicate.RegexPredicate<Class<?>>
-
- org.antublue.test.engine.internal.predicate.TestClassPredicate
-
public final class TestClassPredicate extends RegexPredicate<Class<?>>
Class to implement a Predicate that matches a classname
-
-
Field Summary
-
Fields inherited from class org.antublue.test.engine.internal.predicate.RegexPredicate
matcher, pattern, regex
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static TestClassPredicateof(String regex)Method to create an instance of a TestClassPredicatebooleantest(Class<?> clazz)Method to test the Predicate-
Methods inherited from class org.antublue.test.engine.internal.predicate.RegexPredicate
getRegex
-
-
-
-
Method Detail
-
test
public boolean test(Class<?> clazz)
Method to test the Predicate
-
of
public static TestClassPredicate of(String regex)
Method to create an instance of a TestClassPredicate- Parameters:
regex-- Returns:
-
-