org.camunda.bpm.engine.cdi
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 Summary
 String getActivityId()
           
 String getExecutionId()
           
 ProcessDefinition getProcessDefinition()
           
 String getProcessInstanceId()
           
 Date getTimeStamp()
           
 String getTransitionName()
           
 BusinessProcessEventType getType()
           
 

Method Detail

getProcessDefinition

ProcessDefinition getProcessDefinition()
Returns:
the process definition in which the event is happening / has happened

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

BusinessProcessEventType getType()
Returns:
the type of the event

getTimeStamp

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


Copyright © 2014 camunda services GmbH. All Rights Reserved.