Class ClassNamePatternFilterUtils
java.lang.Object
org.junit.platform.commons.util.ClassNamePatternFilterUtils
Collection of utilities for creating filters based on class names.
DISCLAIMER
These utilities are intended solely for usage within the JUnit framework itself. Any usage by external parties is not supported. Use at your own risk!
- Since:
- 1.7
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic <T> Predicate<T> excludeMatchingClasses(@Nullable String patterns) Create aPredicatethat can be used to exclude (i.e., filter out) objects of typeTwhose fully qualified class names match any of the supplied patterns.excludeMatchingClassNames(@Nullable String patterns) Create aPredicatethat can be used to exclude (i.e., filter out) fully qualified class names matching any of the supplied patterns.static <T> Predicate<T> includeMatchingClasses(@Nullable String patterns) Create aPredicatethat can be used to include (i.e., filter in) objects of typeTwhose fully qualified class names match any of the supplied patterns.includeMatchingClassNames(@Nullable String patterns) Create aPredicatethat can be used to include (i.e., filter in) fully qualified class names matching any of the supplied patterns.
-
Field Details
-
ALL_PATTERN
- See Also:
-
BLANK
- See Also:
-
-
Method Details
-
excludeMatchingClasses
-
excludeMatchingClassNames
-
includeMatchingClasses
-
includeMatchingClassNames
-