Package io.quarkus.deployment.builditem
Class CombinedIndexBuildItem
- java.lang.Object
-
- io.quarkus.builder.item.BuildItem
-
- io.quarkus.builder.item.SimpleBuildItem
-
- io.quarkus.deployment.builditem.CombinedIndexBuildItem
-
public final class CombinedIndexBuildItem extends SimpleBuildItem
An index of application classes which is built from archives and dependencies that contain a certain marker file. These files include but are not limited to - beans.xml, jandex.idx and config properties. Additional marker files can be declared viaAdditionalApplicationArchiveMarkerBuildItem
. Alternatively, you can index a dependency throughIndexDependencyBuildItem
. Compared toBeanArchiveIndexBuildItem
, this index doesn't contain all CDI-related information. On the other hand, it can contain classes from archives/dependencies that had no CDI component declared within them. The computing index can also be used to index classes on demand. This whenIndexView.getClassByName(DotName)
is called. Note that this is a mutable index as this will add additional information, so in general this Index should only be used if you actually need it.
-
-
Constructor Summary
Constructors Constructor Description CombinedIndexBuildItem(org.jboss.jandex.IndexView index, org.jboss.jandex.IndexView computingIndex)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.jboss.jandex.IndexView
getComputingIndex()
org.jboss.jandex.IndexView
getIndex()
-