Class AdditionalStaticResourceBuildItem


  • public final class AdditionalStaticResourceBuildItem
    extends io.quarkus.builder.item.MultiBuildItem
    Meant to be used by extensions that generate resource into META-INF/resources. These resources cannot be picked up automatically by the standard Static resources handling because when the check is made, these resources don't exist yet on the file system. The value of path should be prefixed with '/' and is assumed to be a path under 'META-INF/resources'.
    • Constructor Detail

      • AdditionalStaticResourceBuildItem

        public AdditionalStaticResourceBuildItem​(String path,
                                                 boolean isDirectory)
    • Method Detail

      • getPath

        public String getPath()
      • isDirectory

        public boolean isDirectory()