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
|
Method Summary |
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)
|
protected List<HistoricDecisionOutputInstance> |
createHistoricDecisionOutputInstances(org.camunda.bpm.dmn.engine.delegate.DmnDecisionTableEvaluationEvent evaluationEvent)
|
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 String |
getProcessDefinitionKey(ExecutionEntity execution)
|
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 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 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)
|
| 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.DmnDecisionEvaluationEvent 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(DmnDecisionEvaluationEvent)
createDecisionEvaluatedEvt
public HistoryEvent createDecisionEvaluatedEvt(DelegateCaseExecution execution,
org.camunda.bpm.dmn.engine.delegate.DmnDecisionEvaluationEvent 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 executionevaluationEvent - the evaluation event
- Returns:
- the history event
- See Also:
DmnHistoryEventProducer.createDecisionEvaluatedEvt(DmnDecisionEvaluationEvent)
createDecisionEvaluatedEvt
public HistoryEvent createDecisionEvaluatedEvt(org.camunda.bpm.dmn.engine.delegate.DmnDecisionEvaluationEvent 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, DmnDecisionEvaluationEvent) instead.
- Specified by:
createDecisionEvaluatedEvt in interface DmnHistoryEventProducer
- Parameters:
evaluationEvent - the evaluation event
- Returns:
- the history event
createHistoryEvent
protected HistoryEvent createHistoryEvent(org.camunda.bpm.dmn.engine.delegate.DmnDecisionEvaluationEvent evaluationEvent,
DefaultDmnHistoryEventProducer.HistoricDecisionInstanceSupplier supplier)
createDecisionEvaluatedEvt
protected HistoricDecisionInstanceEntity createDecisionEvaluatedEvt(org.camunda.bpm.dmn.engine.delegate.DmnDecisionLogicEvaluationEvent evaluationEvent,
ExecutionEntity execution)
createDecisionEvaluatedEvt
protected HistoricDecisionInstanceEntity createDecisionEvaluatedEvt(org.camunda.bpm.dmn.engine.delegate.DmnDecisionLogicEvaluationEvent evaluationEvent,
CaseExecutionEntity execution)
createDecisionEvaluatedEvt
protected HistoricDecisionInstanceEntity createDecisionEvaluatedEvt(org.camunda.bpm.dmn.engine.delegate.DmnDecisionLogicEvaluationEvent evaluationEvent)
newDecisionEvaluationEvent
protected HistoricDecisionEvaluationEvent newDecisionEvaluationEvent(org.camunda.bpm.dmn.engine.delegate.DmnDecisionEvaluationEvent evaluationEvent)
newDecisionInstanceEventEntity
protected HistoricDecisionInstanceEntity newDecisionInstanceEventEntity(ExecutionEntity executionEntity,
org.camunda.bpm.dmn.engine.delegate.DmnDecisionLogicEvaluationEvent evaluationEvent)
newDecisionInstanceEventEntity
protected HistoricDecisionInstanceEntity newDecisionInstanceEventEntity(CaseExecutionEntity executionEntity,
org.camunda.bpm.dmn.engine.delegate.DmnDecisionLogicEvaluationEvent evaluationEvent)
newDecisionInstanceEventEntity
protected HistoricDecisionInstanceEntity newDecisionInstanceEventEntity(org.camunda.bpm.dmn.engine.delegate.DmnDecisionLogicEvaluationEvent evaluationEvent)
initDecisionInstanceEvent
protected void initDecisionInstanceEvent(HistoricDecisionInstanceEntity event,
org.camunda.bpm.dmn.engine.delegate.DmnDecisionLogicEvaluationEvent evaluationEvent,
HistoryEventTypes eventType)
initDecisionInstanceEventForDecisionTable
protected void initDecisionInstanceEventForDecisionTable(HistoricDecisionInstanceEntity event,
org.camunda.bpm.dmn.engine.delegate.DmnDecisionTableEvaluationEvent evaluationEvent)
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)
initDecisionInstanceEventForDecisionLiteralExpression
protected void initDecisionInstanceEventForDecisionLiteralExpression(HistoricDecisionInstanceEntity event,
org.camunda.bpm.dmn.engine.delegate.DmnDecisionLiteralExpressionEvaluationEvent 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 © 2017 camunda services GmbH. All rights reserved.