Class ClassResolver
java.lang.Object
com.atlassian.confluence.util.test.ClassResolver
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionforPattern
(@Nullable String pattern, @Nullable List<Class<? extends Annotation>> annotations) Filter classes that match the pattern and have matching annotations on the classforPattern
(String pattern) boolean
setSupportJarResources
(boolean supportJarResources)
-
Constructor Details
-
ClassResolver
public ClassResolver()
-
-
Method Details
-
isSupportJarResources
public boolean isSupportJarResources() -
setSupportJarResources
-
forPattern
-
forPattern
public Set<Class<?>> forPattern(@Nullable String pattern, @Nullable List<Class<? extends Annotation>> annotations) Filter classes that match the pattern and have matching annotations on the class- Parameters:
pattern
- filter pattern to apply. Can be null, defaulting to all classpath URL resourcesannotations
- annotations to ensure are present. Can be null- Returns:
- the classes matching the pattern and annotation filters
-