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

All Known Implementing Classes:
DefaultDmnHistoryEventProducer

public interface DmnHistoryEventProducer

The producer for DMN history events. The history event producer is responsible for extracting data from the dmn engine and adding the data to a HistoryEvent.

Author:
Philipp Ossler

Method Summary
 HistoryEvent createDecisionEvaluatedEvt(DelegateCaseExecution execution, org.camunda.bpm.dmn.engine.delegate.DmnDecisionTableEvaluationEvent decisionTableEvaluationEvent)
          Creates the history event fired when a decision is evaluated while execute a case instance.
 HistoryEvent createDecisionEvaluatedEvt(DelegateExecution execution, org.camunda.bpm.dmn.engine.delegate.DmnDecisionTableEvaluationEvent decisionTableEvaluationEvent)
          Creates the history event fired when a decision is evaluated while execute a process instance.
 HistoryEvent createDecisionEvaluatedEvt(org.camunda.bpm.dmn.engine.delegate.DmnDecisionTableEvaluationEvent decisionTableEvaluationEvent)
          Creates the history event fired when a decision is evaluated.
 

Method Detail

createDecisionEvaluatedEvt

HistoryEvent createDecisionEvaluatedEvt(DelegateExecution execution,
                                        org.camunda.bpm.dmn.engine.delegate.DmnDecisionTableEvaluationEvent decisionTableEvaluationEvent)
Creates the history event fired when a decision is evaluated while execute a process instance.

Parameters:
execution - the current execution
decisionTableEvaluationEvent - the evaluation event
Returns:
the history event
See Also:
createDecisionEvaluatedEvt(DmnDecisionTableEvaluationEvent)

createDecisionEvaluatedEvt

HistoryEvent createDecisionEvaluatedEvt(DelegateCaseExecution execution,
                                        org.camunda.bpm.dmn.engine.delegate.DmnDecisionTableEvaluationEvent decisionTableEvaluationEvent)
Creates the history event fired when a decision is evaluated while execute a case instance.

Parameters:
execution - the current case execution
decisionTable - the evaluated decision table
decisionTableResult - the decision table evaluation result
Returns:
the history event
See Also:
#createDecisionEvaluatedEvt(DmnDecisionTable, DmnDecisionTableResult)

createDecisionEvaluatedEvt

HistoryEvent createDecisionEvaluatedEvt(org.camunda.bpm.dmn.engine.delegate.DmnDecisionTableEvaluationEvent decisionTableEvaluationEvent)
Creates the history event fired when a decision is evaluated. If the decision is evaluated while execute a process instance then you should use createDecisionEvaluatedEvt(DelegateExecution, DmnDecisionTableEvaluationEvent) instead.

Parameters:
decisionTableEvaluationEvent - the evaluation event
Returns:
the history event


Copyright © 2015 camunda services GmbH. All rights reserved.