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 Summary
FieldsFields inherited from class java.util.EventObject
source -
Constructor Summary
ConstructorsConstructorDescriptionSearchIndexProcessEvent(com.broadleafcommerce.search.api.type.IndexableType indexableType) SearchIndexProcessEvent(Object source, @NonNull com.broadleafcommerce.search.api.type.IndexableType indexableType) -
Method Summary
Modifier and TypeMethodDescriptioncom.broadleafcommerce.search.api.type.IndexableTypeThe IndexableType of the reindex process this event was generated by.Methods inherited from class org.springframework.context.ApplicationEvent
getTimestampMethods inherited from class java.util.EventObject
getSource, toString
-
Field Details
-
DEFAULT_SOURCE
- See Also:
-
-
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:
getIndexableTypein interfaceIndexableTypeAware- Returns:
- the type of the reindex process
-