|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
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.
| Method Summary | |
|---|---|
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 |
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 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. |
| Method Detail |
|---|
HistoryEvent createProcessInstanceStartEvt(DelegateExecution execution)
execution - the current execution.
HistoryEvent createProcessInstanceUpdateEvt(DelegateExecution execution)
processExecution - the current case 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 task
HistoryEvent createTaskInstanceUpdateEvt(DelegateTask task)
task - the task
HistoryEvent createTaskInstanceCompleteEvt(DelegateTask task,
String deleteReason)
task - the taskdeleteReason -
List<HistoryEvent> createUserOperationLogEvents(UserOperationLogContext context)
context - the UserOperationLogContext providing the needed informations
List of HistoryEvents
HistoryEvent createHistoricVariableCreateEvt(VariableInstanceEntity variableInstance,
VariableScope sourceVariableScope)
variableInstance - the runtime variable instancethe - scope to which the variable is linked
HistoryEvent createHistoricVariableUpdateEvt(VariableInstanceEntity variableInstance,
VariableScope sourceVariableScope)
variableInstance - the runtime variable instancethe - scope to which the variable is linked
HistoryEvent 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)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||