Class HistoryEventProcessor
- java.lang.Object
-
- org.camunda.bpm.engine.impl.history.event.HistoryEventProcessor
-
public class HistoryEventProcessor extends Object
The
HistoryEventProcessorshould be used to process an history event.The
HistoryEventwill be created with the help of theHistoryEventProducerfrom theProcessEngineConfigurationand the given implementation of theHistoryEventProcessor.HistoryEventCreatorwhich uses the producer object to create anHistoryEvent. TheHistoryEventwill be handled by theHistoryEventHandlerfrom theProcessEngineConfiguration.- Since:
- 7.5
- Author:
- Christopher Zell
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classHistoryEventProcessor.HistoryEventCreatorTheHistoryEventProcessor.HistoryEventCreatorinterface 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 voidprocessHistoryEvents(HistoryEventProcessor.HistoryEventCreator creator)Process anHistoryEventand handle them directly after creation.
-
-
-
Method Detail
-
processHistoryEvents
public static void processHistoryEvents(HistoryEventProcessor.HistoryEventCreator creator)
Process anHistoryEventand handle them directly after creation. TheHistoryEventis created with the help of the givenHistoryEventProcessor.HistoryEventCreatorimplementation.- Parameters:
creator- the creator is used to create theHistoryEventwhich should be thrown
-
-