Class 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 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. This 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.
    See Also:
    AdditionalApplicationArchiveMarkerBuildItem, IndexDependencyBuildItem
    • Constructor Detail

      • CombinedIndexBuildItem

        public CombinedIndexBuildItem​(org.jboss.jandex.IndexView index,
                                      org.jboss.jandex.IndexView computingIndex)
    • Method Detail

      • getIndex

        public org.jboss.jandex.IndexView getIndex()
      • getComputingIndex

        public org.jboss.jandex.IndexView getComputingIndex()