public class ActivityInstanceImpl extends ProcessElementInstanceImpl implements ActivityInstance
Modifier and Type | Field and Description |
---|---|
protected String |
activityId |
protected String |
activityName |
protected String |
activityType |
protected String |
businessKey |
protected ActivityInstance[] |
childActivityInstances |
protected TransitionInstance[] |
childTransitionInstances |
protected String[] |
executionIds |
id, parentActivityInstanceId, processDefinitionId, processInstanceId
Constructor and Description |
---|
ActivityInstanceImpl() |
Modifier and Type | Method and Description |
---|---|
String |
getActivityId()
the id of the activity
|
String |
getActivityName()
the name of the activity
|
String |
getActivityType()
Type of the activity, corresponds to BPMN element name in XML (e.g.
|
String |
getBusinessKey() |
ActivityInstance[] |
getChildActivityInstances()
Returns the child activity instances.
|
TransitionInstance[] |
getChildTransitionInstances()
Returns the child transition instances.
|
String[] |
getExecutionIds()
the list of executions that are currently waiting in this activity instance
|
void |
setActivityId(String activityId) |
void |
setActivityName(String activityName) |
void |
setActivityType(String activityType) |
void |
setBusinessKey(String businessKey) |
void |
setChildActivityInstances(ActivityInstance[] childInstances) |
void |
setChildTransitionInstances(TransitionInstance[] childTransitionInstances) |
void |
setExecutionIds(String[] executionIds) |
String |
toString() |
protected void |
writeTransition(TransitionInstance transition,
StringWriter writer,
String prefix,
boolean isTail) |
protected void |
writeTree(StringWriter writer,
String prefix,
boolean isTail) |
getId, getParentActivityInstanceId, getProcessDefinitionId, getProcessInstanceId, setId, setParentActivityInstanceId, setProcessDefinitionId, setProcessInstanceId
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getId, getParentActivityInstanceId, getProcessDefinitionId, getProcessInstanceId
protected String businessKey
protected String activityId
protected String activityName
protected String activityType
protected ActivityInstance[] childActivityInstances
protected TransitionInstance[] childTransitionInstances
protected String[] executionIds
public ActivityInstance[] getChildActivityInstances()
ActivityInstance
getChildActivityInstances
in interface ActivityInstance
public void setChildActivityInstances(ActivityInstance[] childInstances)
public String getBusinessKey()
public void setBusinessKey(String businessKey)
public String getActivityId()
ActivityInstance
getActivityId
in interface ActivityInstance
public void setActivityId(String activityId)
public String[] getExecutionIds()
ActivityInstance
getExecutionIds
in interface ActivityInstance
public void setExecutionIds(String[] executionIds)
public TransitionInstance[] getChildTransitionInstances()
ActivityInstance
getChildTransitionInstances
in interface ActivityInstance
public void setChildTransitionInstances(TransitionInstance[] childTransitionInstances)
public String getActivityType()
ActivityInstance
getActivityType
in interface ActivityInstance
public void setActivityType(String activityType)
public String getActivityName()
ActivityInstance
getActivityName
in interface ActivityInstance
public void setActivityName(String activityName)
protected void writeTree(StringWriter writer, String prefix, boolean isTail)
protected void writeTransition(TransitionInstance transition, StringWriter writer, String prefix, boolean isTail)
public String toString()
toString
in class ProcessElementInstanceImpl
Copyright © 2018. All rights reserved.