Class ApplicationArchiveImpl

    • Constructor Detail

      • ApplicationArchiveImpl

        public ApplicationArchiveImpl​(org.jboss.jandex.IndexView indexView,
                                      io.quarkus.paths.OpenPathTree openTree,
                                      io.quarkus.maven.dependency.ArtifactKey artifactKey)
    • Method Detail

      • getIndex

        public org.jboss.jandex.IndexView getIndex()
        Specified by:
        getIndex in interface ApplicationArchive
        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 interface ApplicationArchive
      • getRootDirs

        @Deprecated
        public io.quarkus.bootstrap.model.PathsCollection getRootDirs()
        Deprecated.
        Specified by:
        getRootDirs in interface ApplicationArchive
        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 mounted FileSystem created from the JAR.
        Specified by:
        getRootDirectories in interface ApplicationArchive
        Returns:
        The archive root directories.
      • getPaths

        @Deprecated
        public io.quarkus.bootstrap.model.PathsCollection getPaths()
        Deprecated.
        Specified by:
        getPaths in interface ApplicationArchive
        Returns:
        The paths representing the application root paths.
      • getResolvedPaths

        public io.quarkus.paths.PathCollection getResolvedPaths()
        Specified by:
        getResolvedPaths in interface ApplicationArchive
        Returns:
        The paths representing the application root paths.
      • getArtifactKey

        @Deprecated
        public io.quarkus.bootstrap.model.AppArtifactKey getArtifactKey()
        Deprecated.
        Specified by:
        getArtifactKey in interface ApplicationArchive
        Returns:
        the artifact key or null if not available
      • getKey

        public io.quarkus.maven.dependency.ArtifactKey getKey()
        Specified by:
        getKey in interface ApplicationArchive
        Returns:
        the artifact key or null if not available
      • apply

        public <T> T apply​(Function<io.quarkus.paths.OpenPathTree,​T> func)
        Description copied from interface: ApplicationArchive
        Applies a function to the content tree of the archive.
        Specified by:
        apply in interface ApplicationArchive
        Type Parameters:
        T - result type of the function
        Parameters:
        func - function to apply
        Returns:
        the result of the function
      • accept

        public void accept​(Consumer<io.quarkus.paths.OpenPathTree> func)
        Description copied from interface: ApplicationArchive
        Accepts a consumer for the content tree of the archive.
        Specified by:
        accept in interface ApplicationArchive
        Parameters:
        func - consumer