public interface ApplicationArchive
An application archive is an archive that provides components to the application. As a result it will be indexed via jandex, and any deployment descriptors will be made available to the application.
| Modifier and Type | Method and Description |
|---|---|
Path |
getArchiveLocation()
Deprecated.
in favor of
getPaths() |
Path |
getArchiveRoot()
Deprecated.
in favor of
getRootDirs() |
io.quarkus.bootstrap.model.AppArtifactKey |
getArtifactKey() |
default Path |
getChildPath(String path)
Convenience method, returns the child path if it exists, otherwise null.
|
org.jboss.jandex.IndexView |
getIndex() |
io.quarkus.bootstrap.model.PathsCollection |
getPaths() |
io.quarkus.bootstrap.model.PathsCollection |
getRootDirs()
Returns paths representing the archive root directories.
|
boolean |
isJarArchive()
Deprecated.
does not appear to be used anywhere and now it shouldn't be
|
default void |
processEntry(String path,
BiConsumer<Path,Path> consumer)
Searches for the specified entry among the archive paths.
|
org.jboss.jandex.IndexView getIndex()
@Deprecated Path getArchiveRoot()
getRootDirs()com.sun.nio.zipfs.ZipFileSystem@Deprecated boolean isJarArchive()
true if this archive is a jar@Deprecated Path getArchiveLocation()
getPaths()io.quarkus.bootstrap.model.PathsCollection getRootDirs()
FileSystem
created from the JAR.io.quarkus.bootstrap.model.PathsCollection getPaths()
io.quarkus.bootstrap.model.AppArtifactKey getArtifactKey()
default Path getChildPath(String path)
path - The child pathdefault void processEntry(String path, BiConsumer<Path,Path> consumer)
path - relative entry pathconsumer - entry consumerCopyright © 2020 JBoss by Red Hat. All rights reserved.