public class DefaultDmnHistoryEventProducer extends Object implements DmnHistoryEventProducer
| Modifier and Type | Class and Description |
|---|---|
protected static interface |
DefaultDmnHistoryEventProducer.HistoricDecisionInstanceSupplier |
| Modifier and Type | Field and Description |
|---|---|
protected static EnginePersistenceLogger |
LOG |
| Constructor and Description |
|---|
DefaultDmnHistoryEventProducer() |
| Modifier and Type | Method and Description |
|---|---|
HistoryEvent |
createDecisionEvaluatedEvt(DelegateCaseExecution execution,
org.camunda.bpm.dmn.engine.delegate.DmnDecisionEvaluationEvent 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.DmnDecisionEvaluationEvent evaluationEvent)
Creates the history event fired when a decision is evaluated while execute
a process instance.
|
HistoryEvent |
createDecisionEvaluatedEvt(org.camunda.bpm.dmn.engine.delegate.DmnDecisionEvaluationEvent evaluationEvent)
Creates the history event fired when a decision is evaluated.
|
protected HistoricDecisionInstanceEntity |
createDecisionEvaluatedEvt(org.camunda.bpm.dmn.engine.delegate.DmnDecisionLogicEvaluationEvent evaluationEvent) |
protected HistoricDecisionInstanceEntity |
createDecisionEvaluatedEvt(org.camunda.bpm.dmn.engine.delegate.DmnDecisionLogicEvaluationEvent evaluationEvent,
CaseExecutionEntity execution) |
protected HistoricDecisionInstanceEntity |
createDecisionEvaluatedEvt(org.camunda.bpm.dmn.engine.delegate.DmnDecisionLogicEvaluationEvent evaluationEvent,
ExecutionEntity execution) |
protected List<HistoricDecisionInputInstance> |
createHistoricDecisionInputInstances(org.camunda.bpm.dmn.engine.delegate.DmnDecisionTableEvaluationEvent evaluationEvent,
String rootProcessInstanceId,
Date removalTime) |
protected List<HistoricDecisionOutputInstance> |
createHistoricDecisionOutputInstances(org.camunda.bpm.dmn.engine.delegate.DmnDecisionTableEvaluationEvent evaluationEvent,
String rootProcessInstanceId,
Date removalTime) |
protected HistoryEvent |
createHistoryEvent(org.camunda.bpm.dmn.engine.delegate.DmnDecisionEvaluationEvent evaluationEvent,
DefaultDmnHistoryEventProducer.HistoricDecisionInstanceSupplier supplier) |
protected String |
getCaseDefinitionKey(CaseExecutionEntity execution) |
protected DelegateCaseExecution |
getCaseExecution(HistoricDecisionInstanceEntity event) |
protected Double |
getCollectResultValue(org.camunda.bpm.engine.variable.value.TypedValue collectResultValue) |
protected DelegateExecution |
getExecution(HistoricDecisionInstanceEntity event) |
protected HistoricProcessInstanceEventEntity |
getHistoricRootProcessInstance(String rootProcessInstanceId) |
protected String |
getHistoryRemovalTimeStrategy() |
protected String |
getProcessDefinitionKey(ExecutionEntity execution) |
protected Date |
getRemovalTime(Date evaluationTime,
org.camunda.bpm.dmn.engine.delegate.DmnDecisionLogicEvaluationEvent evaluationEvent) |
protected void |
initDecisionInstanceEvent(HistoricDecisionInstanceEntity event,
org.camunda.bpm.dmn.engine.delegate.DmnDecisionLogicEvaluationEvent evaluationEvent,
HistoryEventTypes eventType) |
protected void |
initDecisionInstanceEventForDecisionLiteralExpression(HistoricDecisionInstanceEntity event,
org.camunda.bpm.dmn.engine.delegate.DmnDecisionLiteralExpressionEvaluationEvent evaluationEvent) |
protected void |
initDecisionInstanceEventForDecisionTable(HistoricDecisionInstanceEntity event,
org.camunda.bpm.dmn.engine.delegate.DmnDecisionTableEvaluationEvent evaluationEvent) |
protected boolean |
isHistoryRemovalTimeStrategyProcessStart() |
protected HistoricDecisionEvaluationEvent |
newDecisionEvaluationEvent(org.camunda.bpm.dmn.engine.delegate.DmnDecisionEvaluationEvent evaluationEvent) |
protected HistoricDecisionInstanceEntity |
newDecisionInstanceEventEntity(CaseExecutionEntity executionEntity,
org.camunda.bpm.dmn.engine.delegate.DmnDecisionLogicEvaluationEvent evaluationEvent) |
protected HistoricDecisionInstanceEntity |
newDecisionInstanceEventEntity(org.camunda.bpm.dmn.engine.delegate.DmnDecisionLogicEvaluationEvent evaluationEvent) |
protected HistoricDecisionInstanceEntity |
newDecisionInstanceEventEntity(ExecutionEntity executionEntity,
org.camunda.bpm.dmn.engine.delegate.DmnDecisionLogicEvaluationEvent evaluationEvent) |
protected void |
provideRemovalTime(HistoryEvent historyEvent) |
protected String |
provideTenantId(DecisionDefinition decisionDefinition,
HistoricDecisionInstanceEntity event) |
protected void |
setReferenceToCaseInstance(HistoricDecisionInstanceEntity event,
CaseExecutionEntity execution) |
protected void |
setReferenceToProcessInstance(HistoricDecisionInstanceEntity event,
ExecutionEntity execution) |
protected void |
setUserId(HistoricDecisionInstanceEntity event) |
protected static final EnginePersistenceLogger LOG
public HistoryEvent createDecisionEvaluatedEvt(DelegateExecution execution, org.camunda.bpm.dmn.engine.delegate.DmnDecisionEvaluationEvent evaluationEvent)
DmnHistoryEventProducercreateDecisionEvaluatedEvt in interface DmnHistoryEventProducerexecution - the current executionevaluationEvent - the evaluation eventDmnHistoryEventProducer.createDecisionEvaluatedEvt(DmnDecisionEvaluationEvent)public HistoryEvent createDecisionEvaluatedEvt(DelegateCaseExecution execution, org.camunda.bpm.dmn.engine.delegate.DmnDecisionEvaluationEvent evaluationEvent)
DmnHistoryEventProducercreateDecisionEvaluatedEvt in interface DmnHistoryEventProducerexecution - the current case executionevaluationEvent - the evaluation eventDmnHistoryEventProducer.createDecisionEvaluatedEvt(DmnDecisionEvaluationEvent)public HistoryEvent createDecisionEvaluatedEvt(org.camunda.bpm.dmn.engine.delegate.DmnDecisionEvaluationEvent evaluationEvent)
DmnHistoryEventProducerDmnHistoryEventProducer.createDecisionEvaluatedEvt(DelegateExecution, DmnDecisionEvaluationEvent) instead.createDecisionEvaluatedEvt in interface DmnHistoryEventProducerevaluationEvent - the evaluation eventprotected HistoryEvent createHistoryEvent(org.camunda.bpm.dmn.engine.delegate.DmnDecisionEvaluationEvent evaluationEvent, DefaultDmnHistoryEventProducer.HistoricDecisionInstanceSupplier supplier)
protected HistoricDecisionInstanceEntity createDecisionEvaluatedEvt(org.camunda.bpm.dmn.engine.delegate.DmnDecisionLogicEvaluationEvent evaluationEvent, ExecutionEntity execution)
protected HistoricDecisionInstanceEntity createDecisionEvaluatedEvt(org.camunda.bpm.dmn.engine.delegate.DmnDecisionLogicEvaluationEvent evaluationEvent, CaseExecutionEntity execution)
protected HistoricDecisionInstanceEntity createDecisionEvaluatedEvt(org.camunda.bpm.dmn.engine.delegate.DmnDecisionLogicEvaluationEvent evaluationEvent)
protected HistoricDecisionEvaluationEvent newDecisionEvaluationEvent(org.camunda.bpm.dmn.engine.delegate.DmnDecisionEvaluationEvent evaluationEvent)
protected HistoricDecisionInstanceEntity newDecisionInstanceEventEntity(ExecutionEntity executionEntity, org.camunda.bpm.dmn.engine.delegate.DmnDecisionLogicEvaluationEvent evaluationEvent)
protected HistoricDecisionInstanceEntity newDecisionInstanceEventEntity(CaseExecutionEntity executionEntity, org.camunda.bpm.dmn.engine.delegate.DmnDecisionLogicEvaluationEvent evaluationEvent)
protected HistoricDecisionInstanceEntity newDecisionInstanceEventEntity(org.camunda.bpm.dmn.engine.delegate.DmnDecisionLogicEvaluationEvent evaluationEvent)
protected void initDecisionInstanceEvent(HistoricDecisionInstanceEntity event, org.camunda.bpm.dmn.engine.delegate.DmnDecisionLogicEvaluationEvent evaluationEvent, HistoryEventTypes eventType)
protected void initDecisionInstanceEventForDecisionTable(HistoricDecisionInstanceEntity event, org.camunda.bpm.dmn.engine.delegate.DmnDecisionTableEvaluationEvent evaluationEvent)
protected Double getCollectResultValue(org.camunda.bpm.engine.variable.value.TypedValue collectResultValue)
protected List<HistoricDecisionInputInstance> createHistoricDecisionInputInstances(org.camunda.bpm.dmn.engine.delegate.DmnDecisionTableEvaluationEvent evaluationEvent, String rootProcessInstanceId, Date removalTime)
protected List<HistoricDecisionOutputInstance> createHistoricDecisionOutputInstances(org.camunda.bpm.dmn.engine.delegate.DmnDecisionTableEvaluationEvent evaluationEvent, String rootProcessInstanceId, Date removalTime)
protected void initDecisionInstanceEventForDecisionLiteralExpression(HistoricDecisionInstanceEntity event, org.camunda.bpm.dmn.engine.delegate.DmnDecisionLiteralExpressionEvaluationEvent evaluationEvent)
protected void setReferenceToProcessInstance(HistoricDecisionInstanceEntity event, ExecutionEntity execution)
protected String getProcessDefinitionKey(ExecutionEntity execution)
protected void setReferenceToCaseInstance(HistoricDecisionInstanceEntity event, CaseExecutionEntity execution)
protected String getCaseDefinitionKey(CaseExecutionEntity execution)
protected void setUserId(HistoricDecisionInstanceEntity event)
protected String provideTenantId(DecisionDefinition decisionDefinition, HistoricDecisionInstanceEntity event)
protected DelegateExecution getExecution(HistoricDecisionInstanceEntity event)
protected DelegateCaseExecution getCaseExecution(HistoricDecisionInstanceEntity event)
protected Date getRemovalTime(Date evaluationTime, org.camunda.bpm.dmn.engine.delegate.DmnDecisionLogicEvaluationEvent evaluationEvent)
protected void provideRemovalTime(HistoryEvent historyEvent)
protected boolean isHistoryRemovalTimeStrategyProcessStart()
protected String getHistoryRemovalTimeStrategy()
protected HistoricProcessInstanceEventEntity getHistoricRootProcessInstance(String rootProcessInstanceId)
Copyright © 2018 camunda services GmbH. All rights reserved.