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 Details

    • 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