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
Modifier and TypeMethodDescriptioncreateDecisionEvaluatedEvt
(DmnDecisionEvaluationEvent decisionEvaluationEvent) Creates the history event fired when a decision is evaluated.createDecisionEvaluatedEvt
(DelegateCaseExecution execution, DmnDecisionEvaluationEvent decisionEvaluationEvent) Creates the history event fired when a decision is evaluated while execute a case instance.createDecisionEvaluatedEvt
(DelegateExecution execution, DmnDecisionEvaluationEvent decisionEvaluationEvent) Creates the history event fired when a decision is evaluated while execute a process instance.
-
Method Details
-
createDecisionEvaluatedEvt
HistoryEvent createDecisionEvaluatedEvt(DelegateExecution execution, DmnDecisionEvaluationEvent decisionEvaluationEvent) Creates the history event fired when a decision is evaluated while execute a process instance.- Parameters:
execution
- the current executiondecisionEvaluationEvent
- the evaluation event- Returns:
- the history event
- See Also:
-
createDecisionEvaluatedEvt
HistoryEvent createDecisionEvaluatedEvt(DelegateCaseExecution execution, DmnDecisionEvaluationEvent decisionEvaluationEvent) Creates the history event fired when a decision is evaluated while execute a case instance.- Parameters:
execution
- the current case executiondecisionEvaluationEvent
- the evaluation event- Returns:
- the history event
- See Also:
-
createDecisionEvaluatedEvt
Creates the history event fired when a decision is evaluated. If the decision is evaluated while execute a process instance then you should usecreateDecisionEvaluatedEvt(DelegateExecution, DmnDecisionEvaluationEvent)
instead.- Parameters:
decisionEvaluationEvent
- the evaluation event- Returns:
- the history event
-