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:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected static StringDEFAULT_SOURCE-
Fields inherited from class java.util.EventObject
source
-
-
Constructor Summary
Constructors Constructor Description SearchIndexProcessEvent(com.broadleafcommerce.search.api.type.IndexableType indexableType)SearchIndexProcessEvent(Object source, @NonNull com.broadleafcommerce.search.api.type.IndexableType indexableType)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.broadleafcommerce.search.api.type.IndexableTypegetIndexableType()The IndexableType of the reindex process this event was generated by.-
Methods inherited from class java.util.EventObject
getSource, toString
-
-
-
-
Field Detail
-
DEFAULT_SOURCE
protected static final String DEFAULT_SOURCE
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
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 Detail
-
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
-
-