Package io.quarkus.deployment.builditem
Class ArchiveRootBuildItem
- java.lang.Object
-
- io.quarkus.builder.item.BuildItem
-
- io.quarkus.builder.item.SimpleBuildItem
-
- io.quarkus.deployment.builditem.ArchiveRootBuildItem
-
public final class ArchiveRootBuildItem extends SimpleBuildItem
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ArchiveRootBuildItem.Builder
-
Constructor Summary
Constructors Constructor Description ArchiveRootBuildItem(Path appClassesDir)
ArchiveRootBuildItem(Path archiveLocation, Path archiveRoot)
Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static ArchiveRootBuildItem.Builder
builder()
Path
getArchiveLocation()
Deprecated.in favor ofgetResolvedPaths()
Path
getArchiveRoot()
Deprecated.in favor ofgetRootDirectories()
io.quarkus.bootstrap.model.PathsCollection
getPaths()
Deprecated.in favor ofgetResolvedPaths()
io.quarkus.paths.PathCollection
getResolvedPaths()
Collection of paths that collectively constitute the application archive's content.io.quarkus.paths.PathCollection
getRootDirectories()
Collection of path representing the archive's root directories.io.quarkus.bootstrap.model.PathsCollection
getRootDirs()
Deprecated.in favor ofgetRootDirectories()
boolean
isExcludedFromIndexing(Path p)
-
-
-
Constructor Detail
-
ArchiveRootBuildItem
public ArchiveRootBuildItem(Path appClassesDir)
-
ArchiveRootBuildItem
@Deprecated public ArchiveRootBuildItem(Path archiveLocation, Path archiveRoot)
Deprecated.
-
-
Method Detail
-
builder
public static ArchiveRootBuildItem.Builder builder()
-
getArchiveLocation
@Deprecated public Path getArchiveLocation()
Deprecated.in favor ofgetResolvedPaths()
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.in favor ofgetRootDirectories()
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 mountedcom.sun.nio.zipfs.ZipFileSystem
- Returns:
- The archive root.
-
getRootDirs
@Deprecated public io.quarkus.bootstrap.model.PathsCollection getRootDirs()
Deprecated.in favor ofgetRootDirectories()
Collection of path representing the archive's root directories. If there is a JAR among the paths (returned bygetResolvedPaths()
) this method will return the path to the root of the mountedjava.nio.file.ZipFileSystem
instead.- Returns:
- Collection of path representing the archive's root directories.
-
getRootDirectories
public io.quarkus.paths.PathCollection getRootDirectories()
Collection of path representing the archive's root directories. If there is a JAR among the paths (returned bygetResolvedPaths()
) this method will return the path to the root of the mountedjava.nio.file.ZipFileSystem
instead.- Returns:
- Collection of path representing the archive's root directories.
-
getPaths
@Deprecated public io.quarkus.bootstrap.model.PathsCollection getPaths()
Deprecated.in favor ofgetResolvedPaths()
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)
-
-