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
  • 可选元素概要

    可选元素
    修饰符和类型
    可选元素
    说明
    One or more Ant-style patterns that identify entries to be excluded from the class path.
    One or more packages that should be excluded from the classpath.
    Alias for files.
  • 元素详细资料

    • value

      @AliasFor("files") String[] value
      Alias for files.

      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

      @AliasFor("value") String[] files
      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
      默认值:
      {}
    • packages

      String[] packages
      One or more packages that should be excluded from the classpath.
      返回:
      the excluded packages
      默认值:
      {}