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
-
Constructor Summary
ConstructorsConstructorDescriptionApplicationArchivesBuildItem
(ApplicationArchive root, Collection<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) Returns anApplicationArchive
that represents the classes and resources that are part of the current project.
-
Constructor Details
-
ApplicationArchivesBuildItem
public ApplicationArchivesBuildItem(ApplicationArchive root, Collection<ApplicationArchive> applicationArchives)
-
-
Method Details
-
getRootArchive
Returns anApplicationArchive
that represents the classes and resources that are part of the current project.- Returns:
- The root archive
-
getApplicationArchives
- Returns:
- A set of all application archives, excluding the root archive
-
getAllApplicationArchives
- 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
-