Class PublishHistoryEventHandler
- java.lang.Object
-
- org.camunda.bpm.spring.boot.starter.event.PublishHistoryEventHandler
-
- All Implemented Interfaces:
HistoryEventHandler
public class PublishHistoryEventHandler extends java.lang.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 voidhandleEvent(HistoryEvent historyEvent)Called by the process engine when an history event is fired.voidhandleEvents(java.util.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:HistoryEventHandlerCalled by the process engine when an history event is fired.- Specified by:
handleEventin interfaceHistoryEventHandler- Parameters:
historyEvent- theHistoryEventthat is about to be fired.
-
handleEvents
public void handleEvents(java.util.List<HistoryEvent> eventList)
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.
-
-