org.camunda.bpm.engine.impl.history.producer
Class DefaultDmnHistoryEventProducer

java.lang.Object
  extended by org.camunda.bpm.engine.impl.history.producer.DefaultDmnHistoryEventProducer
All Implemented Interfaces:
DmnHistoryEventProducer

public class DefaultDmnHistoryEventProducer
extends Object
implements DmnHistoryEventProducer

Author:
Philipp Ossler, Ingo Richtsmeier

Field Summary
protected static EnginePersistenceLogger LOG
           
 
Constructor Summary
DefaultDmnHistoryEventProducer()
           
 
Method Summary
 HistoryEvent createDecisionEvaluatedEvt(DelegateCaseExecution execution, org.camunda.bpm.dmn.engine.delegate.DmnDecisionTableEvaluationEvent evaluationEvent)
          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 evaluationEvent)
          Creates the history event fired when a decision is evaluated while execute a process instance.
 HistoryEvent createDecisionEvaluatedEvt(org.camunda.bpm.dmn.engine.delegate.DmnDecisionTableEvaluationEvent evaluationEvent)
          Creates the history event fired when a decision is evaluated.
protected  List<HistoricDecisionInputInstance> createHistoricDecisionInputInstances(org.camunda.bpm.dmn.engine.delegate.DmnDecisionTableEvaluationEvent evaluationEvent)
           
protected  List<HistoricDecisionOutputInstance> createHistoricDecisionOutputInstances(org.camunda.bpm.dmn.engine.delegate.DmnDecisionTableEvaluationEvent evaluationEvent)
           
protected  String getCaseDefinitionKey(CaseExecutionEntity execution)
           
protected  Double getCollectResultValue(org.camunda.bpm.engine.variable.value.TypedValue collectResultValue)
           
protected  String getProcessDefinitionKey(ExecutionEntity execution)
           
protected  void initDecisionInstanceEvent(HistoricDecisionInstanceEntity event, org.camunda.bpm.dmn.engine.delegate.DmnDecisionTableEvaluationEvent evaluationEvent, HistoryEventTypes eventType)
           
protected  HistoricDecisionInstanceEntity newDecisionInstanceEventEntity(CaseExecutionEntity executionEntity, org.camunda.bpm.dmn.engine.delegate.DmnDecisionTableEvaluationEvent evaluationEvent)
           
protected  HistoricDecisionInstanceEntity newDecisionInstanceEventEntity(org.camunda.bpm.dmn.engine.delegate.DmnDecisionTableEvaluationEvent evaluationEvent)
           
protected  HistoricDecisionInstanceEntity newDecisionInstanceEventEntity(ExecutionEntity executionEntity, org.camunda.bpm.dmn.engine.delegate.DmnDecisionTableEvaluationEvent evaluationEvent)
           
protected  void setReferenceToCaseInstance(HistoricDecisionInstanceEntity event, CaseExecutionEntity execution)
           
protected  void setReferenceToProcessInstance(HistoricDecisionInstanceEntity event, ExecutionEntity execution)
           
protected  void setUserId(HistoricDecisionInstanceEntity event)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

LOG

protected static final EnginePersistenceLogger LOG
Constructor Detail

DefaultDmnHistoryEventProducer

public DefaultDmnHistoryEventProducer()
Method Detail

createDecisionEvaluatedEvt

public HistoryEvent createDecisionEvaluatedEvt(DelegateExecution execution,
                                               org.camunda.bpm.dmn.engine.delegate.DmnDecisionTableEvaluationEvent evaluationEvent)
Description copied from interface: DmnHistoryEventProducer
Creates the history event fired when a decision is evaluated while execute a process instance.

Specified by:
createDecisionEvaluatedEvt in interface DmnHistoryEventProducer
Parameters:
execution - the current execution
evaluationEvent - the evaluation event
Returns:
the history event
See Also:
DmnHistoryEventProducer.createDecisionEvaluatedEvt(DmnDecisionTableEvaluationEvent)

createDecisionEvaluatedEvt

public HistoryEvent createDecisionEvaluatedEvt(DelegateCaseExecution execution,
                                               org.camunda.bpm.dmn.engine.delegate.DmnDecisionTableEvaluationEvent evaluationEvent)
Description copied from interface: DmnHistoryEventProducer
Creates the history event fired when a decision is evaluated while execute a case instance.

Specified by:
createDecisionEvaluatedEvt in interface DmnHistoryEventProducer
Parameters:
execution - the current case execution
Returns:
the history event
See Also:
#createDecisionEvaluatedEvt(DmnDecisionTable, DmnDecisionTableResult)

createDecisionEvaluatedEvt

public HistoryEvent createDecisionEvaluatedEvt(org.camunda.bpm.dmn.engine.delegate.DmnDecisionTableEvaluationEvent evaluationEvent)
Description copied from interface: DmnHistoryEventProducer
Creates the history event fired when a decision is evaluated. If the decision is evaluated while execute a process instance then you should use DmnHistoryEventProducer.createDecisionEvaluatedEvt(DelegateExecution, DmnDecisionTableEvaluationEvent) instead.

Specified by:
createDecisionEvaluatedEvt in interface DmnHistoryEventProducer
Parameters:
evaluationEvent - the evaluation event
Returns:
the history event

newDecisionInstanceEventEntity

protected HistoricDecisionInstanceEntity newDecisionInstanceEventEntity(ExecutionEntity executionEntity,
                                                                        org.camunda.bpm.dmn.engine.delegate.DmnDecisionTableEvaluationEvent evaluationEvent)

newDecisionInstanceEventEntity

protected HistoricDecisionInstanceEntity newDecisionInstanceEventEntity(CaseExecutionEntity executionEntity,
                                                                        org.camunda.bpm.dmn.engine.delegate.DmnDecisionTableEvaluationEvent evaluationEvent)

newDecisionInstanceEventEntity

protected HistoricDecisionInstanceEntity newDecisionInstanceEventEntity(org.camunda.bpm.dmn.engine.delegate.DmnDecisionTableEvaluationEvent evaluationEvent)

initDecisionInstanceEvent

protected void initDecisionInstanceEvent(HistoricDecisionInstanceEntity event,
                                         org.camunda.bpm.dmn.engine.delegate.DmnDecisionTableEvaluationEvent evaluationEvent,
                                         HistoryEventTypes eventType)

getCollectResultValue

protected Double getCollectResultValue(org.camunda.bpm.engine.variable.value.TypedValue collectResultValue)

createHistoricDecisionInputInstances

protected List<HistoricDecisionInputInstance> createHistoricDecisionInputInstances(org.camunda.bpm.dmn.engine.delegate.DmnDecisionTableEvaluationEvent evaluationEvent)

createHistoricDecisionOutputInstances

protected List<HistoricDecisionOutputInstance> createHistoricDecisionOutputInstances(org.camunda.bpm.dmn.engine.delegate.DmnDecisionTableEvaluationEvent evaluationEvent)

setReferenceToProcessInstance

protected void setReferenceToProcessInstance(HistoricDecisionInstanceEntity event,
                                             ExecutionEntity execution)

getProcessDefinitionKey

protected String getProcessDefinitionKey(ExecutionEntity execution)

setReferenceToCaseInstance

protected void setReferenceToCaseInstance(HistoricDecisionInstanceEntity event,
                                          CaseExecutionEntity execution)

getCaseDefinitionKey

protected String getCaseDefinitionKey(CaseExecutionEntity execution)

setUserId

protected void setUserId(HistoricDecisionInstanceEntity event)


Copyright © 2016 camunda services GmbH. All rights reserved.