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
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 via
AdditionalApplicationArchiveMarkerBuildItem
.
Alternatively, you can index a dependency through IndexDependencyBuildItem
.
Compared to BeanArchiveIndexBuildItem
, 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, when IndexView.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
ConstructorDescriptionCombinedIndexBuildItem
(org.jboss.jandex.IndexView index, org.jboss.jandex.IndexView computingIndex) -
Method Summary
Modifier and TypeMethodDescriptionorg.jboss.jandex.IndexView
org.jboss.jandex.IndexView
getIndex()
-
Constructor Details
-
CombinedIndexBuildItem
public CombinedIndexBuildItem(org.jboss.jandex.IndexView index, org.jboss.jandex.IndexView computingIndex)
-
-
Method Details
-
getIndex
public org.jboss.jandex.IndexView getIndex() -
getComputingIndex
public org.jboss.jandex.IndexView getComputingIndex()
-