Class HistoryEventProcessor
- java.lang.Object
-
- org.camunda.bpm.engine.impl.history.event.HistoryEventProcessor
-
public class HistoryEventProcessor extends java.lang.Object
The
HistoryEventProcessor
should be used to process an history event.The
HistoryEvent
will be created with the help of theHistoryEventProducer
from theProcessEngineConfiguration
and the given implementation of theHistoryEventProcessor.HistoryEventCreator
which uses the producer object to create anHistoryEvent
. TheHistoryEvent
will be handled by theHistoryEventHandler
from theProcessEngineConfiguration
.- Since:
- 7.5
- Author:
- Christopher Zell
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
HistoryEventProcessor.HistoryEventCreator
TheHistoryEventProcessor.HistoryEventCreator
interface which is used to interchange the implementation of the creation of different HistoryEvents.
-
Constructor Summary
Constructors Constructor Description HistoryEventProcessor()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
processHistoryEvents(HistoryEventProcessor.HistoryEventCreator creator)
Process anHistoryEvent
and handle them directly after creation.
-
-
-
Method Detail
-
processHistoryEvents
public static void processHistoryEvents(HistoryEventProcessor.HistoryEventCreator creator)
Process anHistoryEvent
and handle them directly after creation. TheHistoryEvent
is created with the help of the givenHistoryEventProcessor.HistoryEventCreator
implementation.- Parameters:
creator
- the creator is used to create theHistoryEvent
which should be thrown
-
-