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 |
createHistoricIncidentCreateEvt(Incident incident) |
HistoryEvent |
createHistoricIncidentDeleteEvt(Incident incident) |
HistoryEvent |
createHistoricIncidentResolveEvt(Incident incident) |
HistoryEvent |
createHistoricJobLogCreateEvt(Job job)
Creates the history event fired when a job has been created.
|
HistoryEvent |
createHistoricJobLogDeleteEvt(Job job)
Creates the history event fired when the a job has been deleted.
|
HistoryEvent |
createHistoricJobLogFailedEvt(Job job,
Throwable exception)
Creates the history event fired when the execution of a job failed.
|
HistoryEvent |
createHistoricJobLogSuccessfulEvt(Job job)
Creates the history event fired when the execution of a job was successful.
|
HistoryEvent |
createHistoricVariableCreateEvt(VariableInstanceEntity variableInstance,
VariableScope sourceVariableScope)
Creates the history event fired when a variable is created.
|
HistoryEvent |
createHistoricVariableDeleteEvt(VariableInstanceEntity variableInstance,
VariableScope sourceVariableScope)
Creates the history event fired when a variable is deleted.
|
HistoryEvent |
createHistoricVariableUpdateEvt(VariableInstanceEntity variableInstance,
VariableScope sourceVariableScope)
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 process 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.
|
List<HistoryEvent> |
createUserOperationLogEvents(UserOperationLogContext context)
Creates the history event fired whenever an operation has been performed by a user.
|
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
- List<HistoryEvent> createUserOperationLogEvents(UserOperationLogContext context)
context
- the UserOperationLogContext
providing the needed informationsList
of HistoryEvent
sHistoryEvent createHistoricVariableCreateEvt(VariableInstanceEntity variableInstance, VariableScope sourceVariableScope)
variableInstance
- the runtime variable instancethe
- scope to which the variable is linkedHistoryEvent createHistoricVariableUpdateEvt(VariableInstanceEntity variableInstance, VariableScope sourceVariableScope)
variableInstance
- the runtime variable instancethe
- scope to which the variable is linkedHistoryEvent createHistoricVariableDeleteEvt(VariableInstanceEntity variableInstance, VariableScope sourceVariableScope)
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
- HistoryEvent createHistoricIncidentCreateEvt(Incident incident)
HistoryEvent createHistoricIncidentResolveEvt(Incident incident)
HistoryEvent createHistoricIncidentDeleteEvt(Incident incident)
HistoryEvent createHistoricJobLogCreateEvt(Job job)
HistoryEvent createHistoricJobLogFailedEvt(Job job, Throwable exception)
HistoryEvent createHistoricJobLogSuccessfulEvt(Job job)
HistoryEvent createHistoricJobLogDeleteEvt(Job job)
Copyright © 2018. All rights reserved.