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
ConstructorDescriptionPublishHistoryEventHandler
(org.springframework.context.ApplicationEventPublisher publisher) -
Method Summary
Modifier and TypeMethodDescriptionvoid
handleEvent
(HistoryEvent historyEvent) Called by the process engine when an history event is fired.void
handleEvents
(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:HistoryEventHandler
Called by the process engine when an history event is fired.- Specified by:
handleEvent
in interfaceHistoryEventHandler
- Parameters:
historyEvent
- theHistoryEvent
that is about to be fired.
-
handleEvents
Description copied from interface:HistoryEventHandler
Called by the process engine when an history event is fired.- Specified by:
handleEvents
in interfaceHistoryEventHandler
- Parameters:
eventList
- theHistoryEvent
that is about to be fired.
-