public class HistoryEventProcessor extends Object
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
.
Modifier and Type | Class and Description |
---|---|
static class |
HistoryEventProcessor.HistoryEventCreator
The
HistoryEventProcessor.HistoryEventCreator interface which is used to interchange the implementation
of the creation of different HistoryEvents. |
Constructor and Description |
---|
HistoryEventProcessor() |
Modifier and Type | Method and Description |
---|---|
static void |
processHistoryEvents(HistoryEventProcessor.HistoryEventCreator creator)
Process an
HistoryEvent and handle them directly after creation. |
public static void processHistoryEvents(HistoryEventProcessor.HistoryEventCreator creator)
HistoryEvent
and handle them directly after creation.
The HistoryEvent
is created with the help of the given
HistoryEventProcessor.HistoryEventCreator
implementation.creator
- the creator is used to create the HistoryEvent
which should be thrownCopyright © 2019. All rights reserved.