Class PublishHistoryEventHandler
java.lang.Object
org.camunda.bpm.spring.boot.starter.event.PublishHistoryEventHandler
- All Implemented Interfaces:
HistoryEventHandler
Event handler publishing history events as Spring Events.
-
Constructor Summary
ConstructorsConstructorDescriptionPublishHistoryEventHandler(org.springframework.context.ApplicationEventPublisher publisher) -
Method Summary
Modifier and TypeMethodDescriptionvoidhandleEvent(HistoryEvent historyEvent) Called by the process engine when an history event is fired.voidhandleEvents(List<HistoryEvent> eventList) Called by the process engine when an history event is fired.
-
Constructor Details
-
PublishHistoryEventHandler
public PublishHistoryEventHandler(org.springframework.context.ApplicationEventPublisher publisher)
-
-
Method Details
-
handleEvent
Description copied from interface:HistoryEventHandlerCalled by the process engine when an history event is fired.- Specified by:
handleEventin interfaceHistoryEventHandler- Parameters:
historyEvent- theHistoryEventthat is about to be fired.
-
handleEvents
Description copied from interface:HistoryEventHandlerCalled by the process engine when an history event is fired.- Specified by:
handleEventsin interfaceHistoryEventHandler- Parameters:
eventList- theHistoryEventthat is about to be fired.
-