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 SimpleBuildItem
-
-
Constructor Summary
Constructors Constructor Description ApplicationArchivesBuildItem(ApplicationArchive root, Collection<ApplicationArchive> applicationArchives)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ApplicationArchive
containingArchive(String className)
Returns the archive that contains the given class name, or null if the class cannot be foundApplicationArchive
containingArchive(org.jboss.jandex.DotName className)
Set<ApplicationArchive>
getAllApplicationArchives()
Collection<ApplicationArchive>
getApplicationArchives()
ApplicationArchive
getRootArchive()
Returns anApplicationArchive
that represents the classes and resources that are part of the current project
-
-
-
Constructor Detail
-
ApplicationArchivesBuildItem
public ApplicationArchivesBuildItem(ApplicationArchive root, Collection<ApplicationArchive> applicationArchives)
-
-
Method Detail
-
getRootArchive
public ApplicationArchive getRootArchive()
Returns anApplicationArchive
that represents the classes and resources that are part of the current project- Returns:
- The root archive
-
getApplicationArchives
public Collection<ApplicationArchive> getApplicationArchives()
- Returns:
- A set of all application archives, excluding the root archive
-
getAllApplicationArchives
public Set<ApplicationArchive> getAllApplicationArchives()
- Returns:
- A set of all application archives, including the root archive
-
containingArchive
public ApplicationArchive containingArchive(String className)
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
public ApplicationArchive containingArchive(org.jboss.jandex.DotName className)
-
-