public class ActivityInstanceDto extends Object
An activity instance is the instance of an activity
Modifier and Type | Field and Description |
---|---|
protected String |
activityId |
protected String |
activityName |
protected String |
activityType |
protected ActivityInstanceDto[] |
childActivityInstances |
protected TransitionInstanceDto[] |
childTransitionInstances |
protected String[] |
executionIds |
protected String |
id |
protected String[] |
incidentIds |
protected ActivityInstanceIncidentDto[] |
incidents |
protected String |
parentActivityInstanceId |
protected String |
processDefinitionId |
protected String |
processInstanceId |
Constructor and Description |
---|
ActivityInstanceDto() |
Modifier and Type | Method and Description |
---|---|
static ActivityInstanceDto |
fromActivityInstance(ActivityInstance instance) |
static ActivityInstanceDto[] |
fromListOfActivityInstance(ActivityInstance[] instances) |
String |
getActivityId()
the id of the activity
|
String |
getActivityName()
the activity name
|
String |
getActivityType()
type of the activity, corresponds to BPMN element name in XML (e.g.
|
ActivityInstanceDto[] |
getChildActivityInstances()
Returns the child activity instances.
|
TransitionInstanceDto[] |
getChildTransitionInstances() |
String[] |
getExecutionIds()
the list of executions that are currently waiting in this activity instance
|
String |
getId()
The id of the activity instance
|
String[] |
getIncidentIds() |
ActivityInstanceIncidentDto[] |
getIncidents() |
String |
getName()
deprecated; the JSON field with this name was never documented, but existed
from 7.0 to 7.2
|
String |
getParentActivityInstanceId()
The id of the parent activity instance.
|
String |
getProcessDefinitionId()
the process definition id
|
String |
getProcessInstanceId()
the process instance id
|
protected String id
protected String parentActivityInstanceId
protected String activityId
protected String activityType
protected String processInstanceId
protected String processDefinitionId
protected ActivityInstanceDto[] childActivityInstances
protected TransitionInstanceDto[] childTransitionInstances
protected String[] executionIds
protected String activityName
protected String[] incidentIds
protected ActivityInstanceIncidentDto[] incidents
public String getId()
public String getParentActivityInstanceId()
getId()
and getParentActivityInstanceId()
return the same valuepublic String getActivityId()
public String getActivityType()
public String getProcessInstanceId()
public String getProcessDefinitionId()
public ActivityInstanceDto[] getChildActivityInstances()
public TransitionInstanceDto[] getChildTransitionInstances()
public String[] getExecutionIds()
public String getActivityName()
public String getName()
public String[] getIncidentIds()
public ActivityInstanceIncidentDto[] getIncidents()
public static ActivityInstanceDto fromActivityInstance(ActivityInstance instance)
public static ActivityInstanceDto[] fromListOfActivityInstance(ActivityInstance[] instances)
Copyright © 2021. All rights reserved.