Annotation Interface ClassPathExclusions
@Retention(RUNTIME)
@Target({TYPE,METHOD})
@Documented
@ExtendWith(ModifiedClassPathExtension.class)
public @interface ClassPathExclusions
Annotation used to exclude entries from the classpath.
- 从以下版本开始:
- 4.0
- 作者:
- Andy Wilkinson
-
可选元素概要
可选元素
-
元素详细资料
-
value
Alias forfiles.One or more Ant-style patterns that identify entries to be excluded from the class path. Matching is performed against an entry's
file name. For example, to exclude Hibernate Validator from the classpath,"hibernate-validator-*.jar"can be used.- 返回:
- the exclusion patterns
- 默认值:
- {}
-
files
One or more Ant-style patterns that identify entries to be excluded from the class path. Matching is performed against an entry'sfile name. For example, to exclude Hibernate Validator from the classpath,"hibernate-validator-*.jar"can be used.- 返回:
- the exclusion patterns
- 默认值:
- {}
-
packages
String[] packagesOne or more packages that should be excluded from the classpath.- 返回:
- the excluded packages
- 默认值:
- {}
-