org.camunda.bpm.engine.impl.history.event
Class HistoryEventProcessor

java.lang.Object
  extended by org.camunda.bpm.engine.impl.history.event.HistoryEventProcessor

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.

Since:
7.5
Author:
Christopher Zell

Nested Class Summary
static class HistoryEventProcessor.HistoryEventCreator
          The HistoryEventProcessor.HistoryEventCreator interface which is used to interchange the implementation of the creation of different HistoryEvents.
 
Constructor Summary
HistoryEventProcessor()
           
 
Method Summary
static void processHistoryEvents(HistoryEventProcessor.HistoryEventCreator creator)
          Process an HistoryEvent and handle them directly after creation.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HistoryEventProcessor

public HistoryEventProcessor()
Method Detail

processHistoryEvents

public static void processHistoryEvents(HistoryEventProcessor.HistoryEventCreator creator)
Process an HistoryEvent and handle them directly after creation. The HistoryEvent is created with the help of the given HistoryEventProcessor.HistoryEventCreator implementation.

Parameters:
creator - the creator is used to create the HistoryEvent which should be thrown


Copyright © 2017 camunda services GmbH. All rights reserved.