public class ProcessDefinitionImpl extends ScopeImpl implements PvmProcessDefinition
Modifier and Type | Field and Description |
---|---|
protected String |
description |
protected ActivityImpl |
initial |
protected Map<ActivityImpl,List<ActivityImpl>> |
initialActivityStacks |
protected List<LaneSet> |
laneSets |
protected String |
name |
protected ParticipantProcess |
participantProcess |
activities, executionListeners, namedActivities
id, processDefinition, properties
Constructor and Description |
---|
ProcessDefinitionImpl(String id) |
Modifier and Type | Method and Description |
---|---|
void |
addLaneSet(LaneSet newLaneSet) |
PvmProcessInstance |
createProcessInstance() |
PvmProcessInstance |
createProcessInstanceForInitial(ActivityImpl initial)
creates a process instance using the provided activity as initial
|
String |
getDeploymentId() |
String |
getDescription() |
String |
getDiagramResourceName() |
ActivityImpl |
getInitial() |
List<ActivityImpl> |
getInitialActivityStack() |
List<ActivityImpl> |
getInitialActivityStack(ActivityImpl startActivity) |
Lane |
getLaneForId(String id) |
List<LaneSet> |
getLaneSets() |
String |
getName() |
ScopeImpl |
getParentScope() |
ParticipantProcess |
getParticipantProcess() |
protected InterpretableExecution |
newProcessInstance(ActivityImpl startActivity) |
void |
setInitial(ActivityImpl initial) |
void |
setName(String name) |
void |
setParticipantProcess(ParticipantProcess participantProcess) |
String |
toString() |
addExecutionListener, addExecutionListener, contains, createActivity, createActivity, findActivity, getActivities, getChildActivity, getExecutionListeners, getExecutionListeners
getId, getProcessDefinition, getProperties, getProperty, setProperties, setProperty
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
findActivity, getActivities
getId, getProcessDefinition, getProperty
protected String name
protected String description
protected ActivityImpl initial
protected Map<ActivityImpl,List<ActivityImpl>> initialActivityStacks
protected ParticipantProcess participantProcess
public ProcessDefinitionImpl(String id)
public PvmProcessInstance createProcessInstance()
createProcessInstance
in interface PvmProcessDefinition
public PvmProcessInstance createProcessInstanceForInitial(ActivityImpl initial)
public List<ActivityImpl> getInitialActivityStack()
public List<ActivityImpl> getInitialActivityStack(ActivityImpl startActivity)
protected InterpretableExecution newProcessInstance(ActivityImpl startActivity)
public String getDiagramResourceName()
getDiagramResourceName
in interface ReadOnlyProcessDefinition
public String getDeploymentId()
getDeploymentId
in interface PvmProcessDefinition
public void addLaneSet(LaneSet newLaneSet)
public ActivityImpl getInitial()
getInitial
in interface ReadOnlyProcessDefinition
public void setInitial(ActivityImpl initial)
public String getName()
getName
in interface ReadOnlyProcessDefinition
public void setName(String name)
public String getDescription()
getDescription
in interface ReadOnlyProcessDefinition
public List<LaneSet> getLaneSets()
public void setParticipantProcess(ParticipantProcess participantProcess)
public ParticipantProcess getParticipantProcess()
public ScopeImpl getParentScope()
getParentScope
in class ScopeImpl
Copyright © 2015. All rights reserved.