org.camunda.bpm.engine.impl.history.producer
Interface CmmnHistoryEventProducer

All Known Implementing Classes:
CacheAwareCmmnHistoryEventProducer, DefaultCmmnHistoryEventProducer

public interface CmmnHistoryEventProducer

The producer for CMMN history events. The history event producer is responsible for extracting data from the runtime structures (Executions, Tasks, ...) and adding the data to a HistoryEvent.

Author:
Sebastian Menski

Method Summary
 HistoryEvent createCaseActivityInstanceCreateEvt(DelegateCaseExecution caseExecution)
          Creates the history event fired when a case activity instance is created.
 HistoryEvent createCaseActivityInstanceEndEvt(DelegateCaseExecution caseExecution)
          Creates the history event fired when a case activity instance is ended.
 HistoryEvent createCaseActivityInstanceUpdateEvt(DelegateCaseExecution caseExecution)
          Creates the history event fired when a case activity instance is updated.
 HistoryEvent createCaseInstanceCloseEvt(DelegateCaseExecution caseExecution)
          Creates the history event fired when a case instance is closed.
 HistoryEvent createCaseInstanceCreateEvt(DelegateCaseExecution caseExecution)
          Creates the history event fired when a case instance is created.
 HistoryEvent createCaseInstanceUpdateEvt(DelegateCaseExecution caseExecution)
          Creates the history event fired when a case instance is updated.
 

Method Detail

createCaseInstanceCreateEvt

HistoryEvent createCaseInstanceCreateEvt(DelegateCaseExecution caseExecution)
Creates the history event fired when a case instance is created.

Parameters:
caseExecution - the current case execution
Returns:
the created history event

createCaseInstanceUpdateEvt

HistoryEvent createCaseInstanceUpdateEvt(DelegateCaseExecution caseExecution)
Creates the history event fired when a case instance is updated.

Parameters:
caseExecution - the current case execution
Returns:
the created history event

createCaseInstanceCloseEvt

HistoryEvent createCaseInstanceCloseEvt(DelegateCaseExecution caseExecution)
Creates the history event fired when a case instance is closed.

Parameters:
caseExecution - the current case execution
Returns:
the created history event

createCaseActivityInstanceCreateEvt

HistoryEvent createCaseActivityInstanceCreateEvt(DelegateCaseExecution caseExecution)
Creates the history event fired when a case activity instance is created.

Parameters:
caseExecution - the current case execution
Returns:
the created history event

createCaseActivityInstanceUpdateEvt

HistoryEvent createCaseActivityInstanceUpdateEvt(DelegateCaseExecution caseExecution)
Creates the history event fired when a case activity instance is updated.

Parameters:
caseExecution - the current case execution
Returns:
the created history event

createCaseActivityInstanceEndEvt

HistoryEvent createCaseActivityInstanceEndEvt(DelegateCaseExecution caseExecution)
Creates the history event fired when a case activity instance is ended.

Parameters:
caseExecution - the current case execution
Returns:
the created history event


Copyright © 2015 camunda services GmbH. All rights reserved.