Interface BusinessProcessEvent

All Known Implementing Classes:
CdiBusinessProcessEvent

public interface BusinessProcessEvent
Signifies an event that is happening / has happened during the execution of a business process.
Author:
Daniel Meyer
  • Method Details

    • getProcessDefinition

      ProcessDefinition getProcessDefinition()
      Returns:
      the process definition in which the event is happening / has happened or null the event was not related to a process definition
    • getActivityId

      String getActivityId()
      Returns:
      the id of the activity the process is currently in / was in at the moment the event was fired.
    • getTransitionName

      String getTransitionName()
      Returns:
      the name of the transition being taken / that was taken. (null, if this event is not of type BusinessProcessEventType.TAKE
    • getProcessInstanceId

      String getProcessInstanceId()
      Returns:
      the id of the ProcessInstance this event corresponds to
    • getExecutionId

      String getExecutionId()
      Returns:
      the id of the Execution this event corresponds to
    • getType

      Returns:
      the type of the event
    • getTimeStamp

      Date getTimeStamp()
      Returns:
      the timestamp indicating the local time at which the event was fired.
    • getTask

      DelegateTask getTask()
      Returns:
      the delegate task if this is a task event.
    • getTaskId

      String getTaskId()
      Returns:
      the task id of the current task or null if this is not a task event.
    • getTaskDefinitionKey

      String getTaskDefinitionKey()
      Returns:
      the id of the task in the process definition (BPMN XML) or null if this is not a task event.