Package io.quarkus.deployment
Class ApplicationArchiveImpl
- java.lang.Object
-
- io.quarkus.builder.item.BuildItem
-
- io.quarkus.builder.item.MultiBuildItem
-
- io.quarkus.deployment.ApplicationArchiveImpl
-
- All Implemented Interfaces:
ApplicationArchive
public final class ApplicationArchiveImpl extends MultiBuildItem implements ApplicationArchive
-
-
Constructor Summary
Constructors Constructor Description ApplicationArchiveImpl(org.jboss.jandex.IndexView indexView, io.quarkus.paths.PathCollection rootDirs, io.quarkus.paths.PathCollection paths, io.quarkus.maven.dependency.ArtifactKey artifactKey)
ApplicationArchiveImpl(org.jboss.jandex.IndexView indexView, Path archiveRoot, Path archiveLocation, io.quarkus.maven.dependency.ArtifactKey artifactKey)
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description Path
getArchiveLocation()
Deprecated.io.quarkus.bootstrap.model.AppArtifactKey
getArtifactKey()
org.jboss.jandex.IndexView
getIndex()
io.quarkus.maven.dependency.ArtifactKey
getKey()
io.quarkus.bootstrap.model.PathsCollection
getPaths()
Deprecated.io.quarkus.paths.PathCollection
getResolvedPaths()
io.quarkus.paths.PathCollection
getRootDirectories()
Returns paths representing the archive root directories.io.quarkus.bootstrap.model.PathsCollection
getRootDirs()
Deprecated.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface io.quarkus.deployment.ApplicationArchive
getChildPath, processEntry
-
-
-
-
Constructor Detail
-
ApplicationArchiveImpl
public ApplicationArchiveImpl(org.jboss.jandex.IndexView indexView, Path archiveRoot, Path archiveLocation, io.quarkus.maven.dependency.ArtifactKey artifactKey)
-
ApplicationArchiveImpl
public ApplicationArchiveImpl(org.jboss.jandex.IndexView indexView, io.quarkus.paths.PathCollection rootDirs, io.quarkus.paths.PathCollection paths, io.quarkus.maven.dependency.ArtifactKey artifactKey)
-
-
Method Detail
-
getIndex
public org.jboss.jandex.IndexView getIndex()
- Specified by:
getIndex
in interfaceApplicationArchive
- Returns:
- The index of this application Archive
-
getArchiveLocation
@Deprecated public Path getArchiveLocation()
Deprecated.Description copied from interface:ApplicationArchive
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.- Specified by:
getArchiveLocation
in interfaceApplicationArchive
-
getRootDirs
@Deprecated public io.quarkus.bootstrap.model.PathsCollection getRootDirs()
Deprecated.- Specified by:
getRootDirs
in interfaceApplicationArchive
- Returns:
- The archive root directories.
-
getRootDirectories
public io.quarkus.paths.PathCollection getRootDirectories()
Description copied from interface:ApplicationArchive
Returns paths representing the archive root directories. Note that every path in this collection is guaranteed to be a directory. If the actual application archive appears to be a JAR, this collection will include a path to the root of the mountedFileSystem
created from the JAR.- Specified by:
getRootDirectories
in interfaceApplicationArchive
- Returns:
- The archive root directories.
-
getPaths
@Deprecated public io.quarkus.bootstrap.model.PathsCollection getPaths()
Deprecated.- Specified by:
getPaths
in interfaceApplicationArchive
- Returns:
- The paths representing the application root paths.
-
getResolvedPaths
public io.quarkus.paths.PathCollection getResolvedPaths()
- Specified by:
getResolvedPaths
in interfaceApplicationArchive
- Returns:
- The paths representing the application root paths.
-
getArtifactKey
public io.quarkus.bootstrap.model.AppArtifactKey getArtifactKey()
- Specified by:
getArtifactKey
in interfaceApplicationArchive
- Returns:
- the artifact key or null if not available
-
getKey
public io.quarkus.maven.dependency.ArtifactKey getKey()
- Specified by:
getKey
in interfaceApplicationArchive
- Returns:
- the artifact key or null if not available
-
-