Package org.camunda.bpm.engine.runtime
Interface TransitionInstance
-
- All Superinterfaces:
ProcessElementInstance
- All Known Implementing Classes:
TransitionInstanceImpl
public interface TransitionInstance extends ProcessElementInstance
A transition instance represents an execution token that has just completed a transition (sequence flow in BPMN) or is about to take an outgoing transition. This happens before starting or after leaving an activity. The execution token is not actually executing the activity that this instance points to which is why the corresponding activity instance does not exist.
Transition instances are the result of asynchronous continuations, asyncBefore or asyncAfter.
- Author:
- Daniel Meyer, Thorben Lindhauer
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description String
getActivityId()
returns the id of the activity a transition is made from/toString
getActivityName()
returns the name of the activity a transition is made from/toString
getActivityType()
returns the type of the activity a transition is made from/to.String
getExecutionId()
returns the id of of the execution that is executing this transition instanceString[]
getIncidentIds()
the ids of currently open incidentsIncident[]
getIncidents()
the list of currently open incidentsString
getTargetActivityId()
Deprecated.a transition instances represents a transition to or from an activity; usegetActivityId()
instead.-
Methods inherited from interface org.camunda.bpm.engine.runtime.ProcessElementInstance
getId, getParentActivityInstanceId, getProcessDefinitionId, getProcessInstanceId
-
-
-
-
Method Detail
-
getTargetActivityId
@Deprecated String getTargetActivityId()
Deprecated.a transition instances represents a transition to or from an activity; usegetActivityId()
instead.returns the id of the target activity
-
getActivityId
String getActivityId()
returns the id of the activity a transition is made from/to
-
getExecutionId
String getExecutionId()
returns the id of of the execution that is executing this transition instance
-
getActivityType
String getActivityType()
returns the type of the activity a transition is made from/to. Corresponds to BPMN element name in XML (e.g. 'userTask'). The type of the root activity instance (the one corresponding to the process instance) is 'processDefinition'.
-
getActivityName
String getActivityName()
returns the name of the activity a transition is made from/to
-
getIncidentIds
String[] getIncidentIds()
the ids of currently open incidents
-
getIncidents
Incident[] getIncidents()
the list of currently open incidents
-
-