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 instance is ended.
|
HistoryEvent |
createActivityInstanceMigrateEvt(MigratingActivityInstance actInstance)
Creates the history event which is fired when an activity instance is migrated.
|
HistoryEvent |
createActivityInstanceStartEvt(DelegateExecution execution)
Creates the history event fired when an activity instance is started.
|
HistoryEvent |
createActivityInstanceUpdateEvt(DelegateExecution execution)
Creates the history event fired when an activity instance is updated.
|
HistoryEvent |
createActivityInstanceUpdateEvt(DelegateExecution execution,
DelegateTask task)
Creates the history event fired when an activity instance is updated.
|
HistoryEvent |
createBatchEndEvent(Batch batch)
Creates the history event fired when the a batch has been completed.
|
HistoryEvent |
createBatchStartEvent(Batch batch)
Creates the history event fired when the a batch has been started.
|
HistoryEvent |
createFormPropertyUpdateEvt(ExecutionEntity execution,
String propertyId,
String propertyValue,
String taskId)
Creates the history event fired when a form property is updated.
|
HistoryEvent |
createHistoricExternalTaskLogCreatedEvt(ExternalTask task)
Creates the history event when an external task has been created.
|
HistoryEvent |
createHistoricExternalTaskLogDeletedEvt(ExternalTask task)
Creates the history event when an external task has been deleted.
|
HistoryEvent |
createHistoricExternalTaskLogFailedEvt(ExternalTask task)
Creates the history event when the execution of an external task has failed.
|
HistoryEvent |
createHistoricExternalTaskLogSuccessfulEvt(ExternalTask task)
Creates the history event when the execution of an external task was successful.
|
HistoryEvent |
createHistoricIdentityLinkAddEvent(IdentityLink identitylink)
Fired when an identity link is added
|
HistoryEvent |
createHistoricIdentityLinkDeleteEvent(IdentityLink identityLink)
Fired when an identity links is deleted
|
HistoryEvent |
createHistoricIncidentCreateEvt(Incident incident) |
HistoryEvent |
createHistoricIncidentDeleteEvt(Incident incident) |
HistoryEvent |
createHistoricIncidentMigrateEvt(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 |
createHistoricVariableMigrateEvt(VariableInstanceEntity variableInstance)
Creates the history event fired when a variable is migrated.
|
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 instance is ended.
|
HistoryEvent |
createProcessInstanceMigrateEvt(DelegateExecution execution)
Creates the history event fired when a process instance is migrated.
|
HistoryEvent |
createProcessInstanceStartEvt(DelegateExecution execution)
Creates the history event fired when a process instances is created.
|
HistoryEvent |
createProcessInstanceUpdateEvt(DelegateExecution execution)
Creates the history event fired when a process instance is updated.
|
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 instance is created.
|
HistoryEvent |
createTaskInstanceMigrateEvt(DelegateTask task)
Creates the history event fired when a task instance is migrated.
|
HistoryEvent |
createTaskInstanceUpdateEvt(DelegateTask task)
Creates the history event fired when a task instance 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 createProcessInstanceUpdateEvt(DelegateExecution execution)
execution
- the process instanceHistoryEvent createProcessInstanceMigrateEvt(DelegateExecution execution)
execution
- the process instanceHistoryEvent createProcessInstanceEndEvt(DelegateExecution execution)
execution
- the current execution.HistoryEvent createActivityInstanceStartEvt(DelegateExecution execution)
execution
- the current execution.HistoryEvent createActivityInstanceUpdateEvt(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 createActivityInstanceMigrateEvt(MigratingActivityInstance actInstance)
actInstance
- the migrated activity instance which contains the new id'sHistoryEvent createActivityInstanceEndEvt(DelegateExecution execution)
execution
- the current execution.HistoryEvent createTaskInstanceCreateEvt(DelegateTask task)
task
- the taskHistoryEvent createTaskInstanceUpdateEvt(DelegateTask task)
task
- the taskHistoryEvent createTaskInstanceMigrateEvt(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 createHistoricVariableMigrateEvt(VariableInstanceEntity variableInstance)
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 createHistoricIncidentMigrateEvt(Incident incident)
HistoryEvent createHistoricJobLogCreateEvt(Job job)
HistoryEvent createHistoricJobLogFailedEvt(Job job, Throwable exception)
HistoryEvent createHistoricJobLogSuccessfulEvt(Job job)
HistoryEvent createHistoricJobLogDeleteEvt(Job job)
HistoryEvent createBatchStartEvent(Batch batch)
HistoryEvent createBatchEndEvent(Batch batch)
HistoryEvent createHistoricIdentityLinkAddEvent(IdentityLink identitylink)
identitylink
- HistoryEvent createHistoricIdentityLinkDeleteEvent(IdentityLink identityLink)
identityLink
- HistoryEvent createHistoricExternalTaskLogCreatedEvt(ExternalTask task)
HistoryEvent createHistoricExternalTaskLogFailedEvt(ExternalTask task)
HistoryEvent createHistoricExternalTaskLogSuccessfulEvt(ExternalTask task)
HistoryEvent createHistoricExternalTaskLogDeletedEvt(ExternalTask task)
Copyright © 2019. All rights reserved.