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 |
activityType |
protected ActivityInstanceDto[] |
childActivityInstances |
protected TransitionInstanceDto[] |
childTransitionInstances |
protected String[] |
executionIds |
protected String |
id |
protected String |
name |
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 |
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 |
getName()
the activity name
|
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 name
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 getName()
public static ActivityInstanceDto fromActivityInstance(ActivityInstance instance)
public static ActivityInstanceDto[] fromListOfActivityInstance(ActivityInstance[] instances)
Copyright © 2015. All rights reserved.