Class TransitionInstanceImpl
java.lang.Object
org.camunda.bpm.engine.impl.persistence.entity.ProcessElementInstanceImpl
org.camunda.bpm.engine.impl.persistence.entity.TransitionInstanceImpl
- All Implemented Interfaces:
ProcessElementInstance
,TransitionInstance
public class TransitionInstanceImpl
extends ProcessElementInstanceImpl
implements TransitionInstance
- Author:
- Daniel Meyer
-
Field Summary
Modifier and TypeFieldDescriptionprotected String
protected String
protected String
protected String
protected String[]
protected Incident[]
Fields inherited from class org.camunda.bpm.engine.impl.persistence.entity.ProcessElementInstanceImpl
id, NO_IDS, parentActivityInstanceId, processDefinitionId, processInstanceId
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionreturns the id of the activity a transition is made from/toreturns the name of the activity a transition is made from/toreturns the type of the activity a transition is made from/to.returns the id of of the execution that is executing this transition instanceString[]
the ids of currently open incidentsIncident[]
the list of currently open incidentsreturns the id of the target activityvoid
setActivityId
(String activityId) void
setActivityName
(String activityName) void
setActivityType
(String activityType) void
setExecutionId
(String executionId) void
setIncidentIds
(String[] incidentIds) void
setIncidents
(Incident[] incidents) toString()
Methods inherited from class org.camunda.bpm.engine.impl.persistence.entity.ProcessElementInstanceImpl
getId, getParentActivityInstanceId, getProcessDefinitionId, getProcessInstanceId, setId, setParentActivityInstanceId, setProcessDefinitionId, setProcessInstanceId
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.camunda.bpm.engine.runtime.ProcessElementInstance
getId, getParentActivityInstanceId, getProcessDefinitionId, getProcessInstanceId
-
Field Details
-
executionId
-
activityId
-
activityName
-
activityType
-
incidentIds
-
incidents
-
-
Constructor Details
-
TransitionInstanceImpl
public TransitionInstanceImpl()
-
-
Method Details
-
getActivityId
Description copied from interface:TransitionInstance
returns the id of the activity a transition is made from/to- Specified by:
getActivityId
in interfaceTransitionInstance
-
setActivityId
-
getTargetActivityId
Description copied from interface:TransitionInstance
returns the id of the target activity- Specified by:
getTargetActivityId
in interfaceTransitionInstance
-
getExecutionId
Description copied from interface:TransitionInstance
returns the id of of the execution that is executing this transition instance- Specified by:
getExecutionId
in interfaceTransitionInstance
-
setExecutionId
-
getActivityType
Description copied from interface:TransitionInstance
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'.- Specified by:
getActivityType
in interfaceTransitionInstance
-
setActivityType
-
getActivityName
Description copied from interface:TransitionInstance
returns the name of the activity a transition is made from/to- Specified by:
getActivityName
in interfaceTransitionInstance
-
setActivityName
-
getIncidentIds
Description copied from interface:TransitionInstance
the ids of currently open incidents- Specified by:
getIncidentIds
in interfaceTransitionInstance
-
setIncidentIds
-
getIncidents
Description copied from interface:TransitionInstance
the list of currently open incidents- Specified by:
getIncidents
in interfaceTransitionInstance
-
setIncidents
-
toString
- Overrides:
toString
in classProcessElementInstanceImpl
-