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.bootstrap.model.PathsCollection rootDirs, io.quarkus.bootstrap.model.PathsCollection paths, io.quarkus.bootstrap.model.AppArtifactKey artifactKey)ApplicationArchiveImpl(org.jboss.jandex.IndexView indexView, Path archiveRoot, Closeable closeable, boolean jar, Path archiveLocation, io.quarkus.bootstrap.model.AppArtifactKey artifactKey)
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description PathgetArchiveLocation()Deprecated.PathgetArchiveRoot()Deprecated.io.quarkus.bootstrap.model.AppArtifactKeygetArtifactKey()org.jboss.jandex.IndexViewgetIndex()io.quarkus.bootstrap.model.PathsCollectiongetPaths()io.quarkus.bootstrap.model.PathsCollectiongetRootDirs()Returns paths representing the archive root directories.booleanisJarArchive()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, Closeable closeable, boolean jar, Path archiveLocation, io.quarkus.bootstrap.model.AppArtifactKey artifactKey)
-
ApplicationArchiveImpl
public ApplicationArchiveImpl(org.jboss.jandex.IndexView indexView, io.quarkus.bootstrap.model.PathsCollection rootDirs, io.quarkus.bootstrap.model.PathsCollection paths, io.quarkus.bootstrap.model.AppArtifactKey artifactKey)
-
-
Method Detail
-
getIndex
public org.jboss.jandex.IndexView getIndex()
- Specified by:
getIndexin interfaceApplicationArchive- Returns:
- The index of this application Archive
-
getArchiveRoot
@Deprecated public Path getArchiveRoot()
Deprecated.Description copied from interface:ApplicationArchiveReturns 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- Specified by:
getArchiveRootin interfaceApplicationArchive- Returns:
- The archive root.
-
isJarArchive
@Deprecated public boolean isJarArchive()
Deprecated.- Specified by:
isJarArchivein interfaceApplicationArchive- Returns:
trueif this archive is a jar
-
getArchiveLocation
@Deprecated public Path getArchiveLocation()
Deprecated.Description copied from interface:ApplicationArchiveIf 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:
getArchiveLocationin interfaceApplicationArchive
-
getRootDirs
public io.quarkus.bootstrap.model.PathsCollection getRootDirs()
Description copied from interface:ApplicationArchiveReturns 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 mountedFileSystemcreated from the JAR.- Specified by:
getRootDirsin interfaceApplicationArchive- Returns:
- The archive root directories.
-
getPaths
public io.quarkus.bootstrap.model.PathsCollection getPaths()
- Specified by:
getPathsin interfaceApplicationArchive- Returns:
- The paths representing the application root paths.
-
getArtifactKey
public io.quarkus.bootstrap.model.AppArtifactKey getArtifactKey()
- Specified by:
getArtifactKeyin interfaceApplicationArchive- Returns:
- the artifact key or null if not available
-
-