public interface HistoryEventProducer
The producer for history events. The history event producer is
responsible for extracting data from the runtime structures
(Executions, Tasks, ...) and adding the data to a HistoryEvent
.
Modifier and Type | Method and Description |
---|---|
HistoryEvent |
createActivityInstanceEndEvt(DelegateExecution execution)
Creates the history event fired when an activity instances is ended.
|
HistoryEvent |
createActivityInstanceStartEvt(DelegateExecution execution)
Creates the history event fired when an activity instances is started.
|
HistoryEvent |
createActivityInstanceUpdateEvt(DelegateExecution execution,
DelegateTask task)
Creates the history event fired when an activity instances is updated.
|
HistoryEvent |
createFormPropertyUpdateEvt(ExecutionEntity execution,
String propertyId,
String propertyValue,
String taskId)
Creates the history event fired when a form property is updated.
|
HistoryEvent |
createHistoricVariableCreateEvt(VariableInstanceEntity variableInstance,
VariableScopeImpl variableScopeImpl)
Creates the history event fired when a variable is created.
|
HistoryEvent |
createHistoricVariableDeleteEvt(VariableInstanceEntity variableInstance,
VariableScopeImpl variableScopeImpl)
Creates the history event fired when a variable is deleted.
|
HistoryEvent |
createHistoricVariableUpdateEvt(VariableInstanceEntity variableInstance,
VariableScopeImpl variableScopeImpl)
Creates the history event fired when a variable is updated.
|
HistoryEvent |
createProcessInstanceEndEvt(DelegateExecution execution)
Creates the history event fired when a process instances is ended.
|
HistoryEvent |
createProcessInstanceStartEvt(DelegateExecution execution)
Creates the history event fired when an activity instances is created.
|
HistoryEvent |
createTaskInstanceCompleteEvt(DelegateTask task,
String deleteReason)
Creates the history event fired when a task instances is completed.
|
HistoryEvent |
createTaskInstanceCreateEvt(DelegateTask task)
Creates the history event fired when a task instances is created.
|
HistoryEvent |
createTaskInstanceUpdateEvt(DelegateTask task)
Creates the history event fired when a task instances is updated.
|
HistoryEvent createProcessInstanceStartEvt(DelegateExecution execution)
execution
- the current execution.HistoryEvent createProcessInstanceEndEvt(DelegateExecution execution)
execution
- the current execution.HistoryEvent createActivityInstanceStartEvt(DelegateExecution execution)
execution
- the current execution.HistoryEvent createActivityInstanceUpdateEvt(DelegateExecution execution, DelegateTask task)
execution
- the current execution.task
- the task association that is currently updated. (May be null in case there is not task associated.)HistoryEvent createActivityInstanceEndEvt(DelegateExecution execution)
execution
- the current execution.HistoryEvent createTaskInstanceCreateEvt(DelegateTask task)
task
- the taskHistoryEvent createTaskInstanceUpdateEvt(DelegateTask task)
task
- the taskHistoryEvent createTaskInstanceCompleteEvt(DelegateTask task, String deleteReason)
task
- the taskdeleteReason
- HistoryEvent createHistoricVariableCreateEvt(VariableInstanceEntity variableInstance, VariableScopeImpl variableScopeImpl)
variableInstance
- the runtime variable instancethe
- scope to which the variable is linkedHistoryEvent createHistoricVariableUpdateEvt(VariableInstanceEntity variableInstance, VariableScopeImpl variableScopeImpl)
variableInstance
- the runtime variable instancethe
- scope to which the variable is linkedHistoryEvent createHistoricVariableDeleteEvt(VariableInstanceEntity variableInstance, VariableScopeImpl variableScopeImpl)
variableInstance
- variableScopeImpl
- HistoryEvent createFormPropertyUpdateEvt(ExecutionEntity execution, String propertyId, String propertyValue, String taskId)
processInstance
- the id for the process instancepropertyId
- the id of the form propertypropertyValue
- the value of the form propertytaskId
- Copyright © 2015. All rights reserved.