Class HistoryEventProcessor
java.lang.Object
org.camunda.bpm.engine.impl.history.event.HistoryEventProcessor
The HistoryEventProcessor
should be used to process an history event.
The HistoryEvent
will be created with the help of the HistoryEventProducer
from the ProcessEngineConfiguration
and the given implementation of the
HistoryEventProcessor.HistoryEventCreator
which uses the producer object to create an
HistoryEvent
. The HistoryEvent
will be handled by the
HistoryEventHandler
from the ProcessEngineConfiguration
.
- Since:
- 7.5
- Author:
- Christopher Zell <christopher.zell@camunda.com>
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
TheHistoryEventProcessor.HistoryEventCreator
interface which is used to interchange the implementation of the creation of different HistoryEvents. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic void
Process anHistoryEvent
and handle them directly after creation.
-
Constructor Details
-
HistoryEventProcessor
public HistoryEventProcessor()
-
-
Method Details
-
processHistoryEvents
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
-