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 Detail

      • 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

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

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

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

        java.lang.String getExecutionId()
        Returns:
        the id of the Execution this event corresponds to
      • getTimeStamp

        java.util.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

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

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