Class PublishHistoryEventHandler
- java.lang.Object
-
- org.camunda.bpm.spring.boot.starter.event.PublishHistoryEventHandler
-
- All Implemented Interfaces:
HistoryEventHandler
public class PublishHistoryEventHandler extends Object implements HistoryEventHandler
Event handler publishing history events as Spring Events.
-
-
Constructor Summary
Constructors Constructor Description PublishHistoryEventHandler(org.springframework.context.ApplicationEventPublisher publisher)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
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.
-
-
-
Method Detail
-
handleEvent
public void handleEvent(HistoryEvent historyEvent)
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
public void handleEvents(List<HistoryEvent> eventList)
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.
-
-