org.camunda.bpm.engine.impl.history.producer
Class DefaultDmnHistoryEventProducer
java.lang.Object
org.camunda.bpm.engine.impl.history.producer.DefaultDmnHistoryEventProducer
- All Implemented Interfaces:
- DmnHistoryEventProducer
public class DefaultDmnHistoryEventProducer
- extends Object
- implements DmnHistoryEventProducer
- Author:
- Philipp Ossler, Ingo Richtsmeier
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LOG
protected static final EnginePersistenceLogger LOG
DefaultDmnHistoryEventProducer
public DefaultDmnHistoryEventProducer()
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 executionevaluationEvent - 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)
provideTenantId
protected String provideTenantId(DecisionDefinition decisionDefinition,
HistoricDecisionInstanceEntity event)
getExecution
protected DelegateExecution getExecution(HistoricDecisionInstanceEntity event)
getCaseExecution
protected DelegateCaseExecution getCaseExecution(HistoricDecisionInstanceEntity event)
Copyright © 2016 camunda services GmbH. All rights reserved.