Class ArchiveRootBuildItem


public final class ArchiveRootBuildItem extends SimpleBuildItem
  • Constructor Details

    • ArchiveRootBuildItem

      public ArchiveRootBuildItem(Path appClassesDir)
    • ArchiveRootBuildItem

      @Deprecated public ArchiveRootBuildItem(Path archiveLocation, Path archiveRoot)
      Deprecated.
  • Method Details

    • builder

      public static ArchiveRootBuildItem.Builder builder()
    • getArchiveLocation

      @Deprecated public Path getArchiveLocation()
      Deprecated.
      in favor of getResolvedPaths()
      If this archive is a jar file it will return the path to the jar file on the file system, otherwise it will return the directory that this corresponds to.
    • getArchiveRoot

      @Deprecated public Path getArchiveRoot()
      Deprecated.
      Returns a path representing the archive root. Note that if this is a jar archive this is not the path to the jar, but rather a path to the root of the mounted com.sun.nio.zipfs.ZipFileSystem.
      Returns:
      The archive root.
    • getRootDirs

      @Deprecated public io.quarkus.bootstrap.model.PathsCollection getRootDirs()
      Deprecated.
      Collection of paths representing the archive's root directories. If there is a JAR among the paths (returned by getResolvedPaths()) this method will return the path to the root of the mounted java.nio.file.ZipFileSystem instead.
      Returns:
      Collection of paths representing the archive's root directories
    • getRootDirectories

      public io.quarkus.paths.PathCollection getRootDirectories()
      Collection of paths representing the archive's root directories. If there is a JAR among the paths (returned by getResolvedPaths()) this method will return the path to the root of the mounted java.nio.file.ZipFileSystem instead.
      Returns:
      Collection of paths representing the archive's root directories
    • getPaths

      @Deprecated public io.quarkus.bootstrap.model.PathsCollection getPaths()
      Deprecated.
      in favor of getResolvedPaths()
      Collection of paths that collectively constitute the application archive's content.
      Returns:
      collection of paths that collectively constitute the application archive content
    • getResolvedPaths

      public io.quarkus.paths.PathCollection getResolvedPaths()
      Collection of paths that collectively constitute the application archive's content.
      Returns:
      collection of paths that collectively constitute the application archive content
    • isExcludedFromIndexing

      public boolean isExcludedFromIndexing(Path p)