Interface IndexableTypeDocumentBuilderContributor<T>

    • Method Detail

      • getIndexableType

        com.broadleafcommerce.search.api.type.IndexableType getIndexableType()
        The indexable type this builder can modify documents for.
        Returns:
        The indexable type this builder can modify documents for.
      • canHandle

        default boolean canHandle​(com.broadleafcommerce.search.api.domain.Indexable<?> indexable)
        Description copied from interface: DocumentBuilderContributor
        Determines whether this contributor should contribute
        Specified by:
        canHandle in interface DocumentBuilderContributor<T>
        Parameters:
        indexable - The Indexable item.
        Returns:
        true if this contributor should execute, else false.