Class SearchIndexProcessEvent

java.lang.Object
java.util.EventObject
org.springframework.context.ApplicationEvent
com.broadleafcommerce.search.index.core.event.SearchIndexProcessEvent
All Implemented Interfaces:
IndexableTypeAware, Serializable
Direct Known Subclasses:
BatchCompletedEvent, ProcessCompletedEvent, ProcessFailedEvent, ProcessStartedEvent, ProcessSuccessEvent, QueueCreatedEvent, QueueLoadedEvent, WorkerCompletedEvent, WorkerStartedEvent

public abstract class SearchIndexProcessEvent extends org.springframework.context.ApplicationEvent implements IndexableTypeAware
Generic, abstract event for reindex processes.
Author:
Kelly Tisdell (ktisdell)
See Also:
  • Field Details

  • Constructor Details

    • SearchIndexProcessEvent

      public SearchIndexProcessEvent(com.broadleafcommerce.search.api.type.IndexableType indexableType)
    • SearchIndexProcessEvent

      public SearchIndexProcessEvent(Object source, @NonNull @NonNull com.broadleafcommerce.search.api.type.IndexableType indexableType)
  • Method Details

    • getIndexableType

      public com.broadleafcommerce.search.api.type.IndexableType getIndexableType()
      The IndexableType of the reindex process this event was generated by.
      Specified by:
      getIndexableType in interface IndexableTypeAware
      Returns:
      the type of the reindex process