Package org.camunda.bpm.engine.cdi
Interface BusinessProcessEvent
-
- All Known Implementing Classes:
CdiBusinessProcessEvent
public interface BusinessProcessEventSignifies an event that is happening / has happened during the execution of a business process.- Author:
- Daniel Meyer
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.StringgetActivityId()java.lang.StringgetExecutionId()ProcessDefinitiongetProcessDefinition()java.lang.StringgetProcessInstanceId()DelegateTaskgetTask()java.lang.StringgetTaskDefinitionKey()java.lang.StringgetTaskId()java.util.DategetTimeStamp()java.lang.StringgetTransitionName()BusinessProcessEventTypegetType()
-
-
-
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
ProcessInstancethis event corresponds to
-
getExecutionId
java.lang.String getExecutionId()
- Returns:
- the id of the
Executionthis event corresponds to
-
getType
BusinessProcessEventType getType()
- Returns:
- the type of the event
-
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.
-
-