Class ActivityInstanceDto
- java.lang.Object
-
- org.camunda.bpm.engine.rest.dto.runtime.ActivityInstanceDto
-
public class ActivityInstanceDto extends java.lang.Object
An activity instance is the instance of an activity
- Author:
- roman.smirnov
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.String
activityId
protected java.lang.String
activityName
protected java.lang.String
activityType
protected ActivityInstanceDto[]
childActivityInstances
protected TransitionInstanceDto[]
childTransitionInstances
protected java.lang.String[]
executionIds
protected java.lang.String
id
protected java.lang.String[]
incidentIds
protected ActivityInstanceIncidentDto[]
incidents
protected java.lang.String
parentActivityInstanceId
protected java.lang.String
processDefinitionId
protected java.lang.String
processInstanceId
-
Constructor Summary
Constructors Constructor Description ActivityInstanceDto()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ActivityInstanceDto
fromActivityInstance(ActivityInstance instance)
static ActivityInstanceDto[]
fromListOfActivityInstance(ActivityInstance[] instances)
java.lang.String
getActivityId()
the id of the activityjava.lang.String
getActivityName()
the activity namejava.lang.String
getActivityType()
type of the activity, corresponds to BPMN element name in XML (e.g.ActivityInstanceDto[]
getChildActivityInstances()
Returns the child activity instances.TransitionInstanceDto[]
getChildTransitionInstances()
java.lang.String[]
getExecutionIds()
the list of executions that are currently waiting in this activity instancejava.lang.String
getId()
The id of the activity instancejava.lang.String[]
getIncidentIds()
ActivityInstanceIncidentDto[]
getIncidents()
java.lang.String
getName()
deprecated; the JSON field with this name was never documented, but existed from 7.0 to 7.2java.lang.String
getParentActivityInstanceId()
The id of the parent activity instance.java.lang.String
getProcessDefinitionId()
the process definition idjava.lang.String
getProcessInstanceId()
the process instance id
-
-
-
Field Detail
-
id
protected java.lang.String id
-
parentActivityInstanceId
protected java.lang.String parentActivityInstanceId
-
activityId
protected java.lang.String activityId
-
activityType
protected java.lang.String activityType
-
processInstanceId
protected java.lang.String processInstanceId
-
processDefinitionId
protected java.lang.String processDefinitionId
-
childActivityInstances
protected ActivityInstanceDto[] childActivityInstances
-
childTransitionInstances
protected TransitionInstanceDto[] childTransitionInstances
-
executionIds
protected java.lang.String[] executionIds
-
activityName
protected java.lang.String activityName
-
incidentIds
protected java.lang.String[] incidentIds
-
incidents
protected ActivityInstanceIncidentDto[] incidents
-
-
Method Detail
-
getId
public java.lang.String getId()
The id of the activity instance
-
getParentActivityInstanceId
public java.lang.String getParentActivityInstanceId()
The id of the parent activity instance. If the activity is the process definition,getId()
andgetParentActivityInstanceId()
return the same value
-
getActivityId
public java.lang.String getActivityId()
the id of the activity
-
getActivityType
public java.lang.String getActivityType()
type of the activity, corresponds to BPMN element name in XML (e.g. 'userTask')
-
getProcessInstanceId
public java.lang.String getProcessInstanceId()
the process instance id
-
getProcessDefinitionId
public java.lang.String getProcessDefinitionId()
the process definition id
-
getChildActivityInstances
public ActivityInstanceDto[] getChildActivityInstances()
Returns the child activity instances. Returns an empty list if there are no child instances.
-
getChildTransitionInstances
public TransitionInstanceDto[] getChildTransitionInstances()
-
getExecutionIds
public java.lang.String[] getExecutionIds()
the list of executions that are currently waiting in this activity instance
-
getActivityName
public java.lang.String getActivityName()
the activity name
-
getName
public java.lang.String getName()
deprecated; the JSON field with this name was never documented, but existed from 7.0 to 7.2
-
getIncidentIds
public java.lang.String[] getIncidentIds()
-
getIncidents
public ActivityInstanceIncidentDto[] getIncidents()
-
fromActivityInstance
public static ActivityInstanceDto fromActivityInstance(ActivityInstance instance)
-
fromListOfActivityInstance
public static ActivityInstanceDto[] fromListOfActivityInstance(ActivityInstance[] instances)
-
-