Annotation Interface RegisterResources


@Retention(RUNTIME) @Target(TYPE) @Repeatable(List.class) public @interface RegisterResources
Annotation that can be used to register resource files to be included in the native image.
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static @interface 
    The repeatable holder for RegisterResources.
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    Add an array of glob patterns for matching resource paths that should be added to the native image.
  • Element Details

    • globs

      String[] globs
      Add an array of glob patterns for matching resource paths that should be added to the native image.

      Use slash (/) as a path separator on all platforms. Globs must not start with slash.

      Default:
      {}