Package io.quarkus.deployment.builditem
Class ApplicationArchivesBuildItem
java.lang.Object
io.quarkus.builder.item.BuildItem
io.quarkus.builder.item.SimpleBuildItem
io.quarkus.deployment.builditem.ApplicationArchivesBuildItem
public final class ApplicationArchivesBuildItem
extends io.quarkus.builder.item.SimpleBuildItem
-
Constructor Summary
ConstructorsConstructorDescriptionApplicationArchivesBuildItem(ApplicationArchive root, List<ApplicationArchive> applicationArchives) -
Method Summary
Modifier and TypeMethodDescriptioncontainingArchive(String className) Returns the archive that contains the given class name, or null if the class cannot be found.containingArchive(org.jboss.jandex.DotName className) Deprecated, for removal: This API element is subject to removal in a future version.Returns a list of all application archives, including the root archive.Deprecated, for removal: This API element is subject to removal in a future version.usegetArchives()Returns a list of all application archives, excluding the root archive.Returns anApplicationArchivethat represents the classes and resources that are part of the current project.
-
Constructor Details
-
ApplicationArchivesBuildItem
public ApplicationArchivesBuildItem(ApplicationArchive root, List<ApplicationArchive> applicationArchives)
-
-
Method Details
-
getRootArchive
Returns anApplicationArchivethat represents the classes and resources that are part of the current project.- Returns:
- The root archive
-
getArchives
Returns a list of all application archives, excluding the root archive. -
getAllArchives
Returns a list of all application archives, including the root archive. -
getApplicationArchives
@Deprecated(since="3.37", forRemoval=true) public Collection<ApplicationArchive> getApplicationArchives()Deprecated, for removal: This API element is subject to removal in a future version.usegetArchives()- Returns:
- A set of all application archives, excluding the root archive
-
getAllApplicationArchives
@Deprecated(since="3.37", forRemoval=true) public Set<ApplicationArchive> getAllApplicationArchives()Deprecated, for removal: This API element is subject to removal in a future version.usegetAllArchives()- Returns:
- A set of all application archives, including the root archive
-
containingArchive
Returns the archive that contains the given class name, or null if the class cannot be found.- Parameters:
className- The class name- Returns:
- The application archive
-
containingArchive
-
getAllArchives()