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 String |
key |
protected List<LaneSet> |
laneSets |
protected String |
name |
protected ParticipantProcess |
participantProcess |
activities, executionListeners, ioSpecification, namedActivitiesid, 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) |
String |
getKey() |
Lane |
getLaneForId(String id) |
List<LaneSet> |
getLaneSets() |
String |
getName() |
ParticipantProcess |
getParticipantProcess() |
protected InterpretableExecution |
newProcessInstance(ActivityImpl startActivity) |
void |
setInitial(ActivityImpl initial) |
void |
setKey(String key) |
void |
setName(String name) |
void |
setParticipantProcess(ParticipantProcess participantProcess) |
String |
toString() |
addExecutionListener, addExecutionListener, contains, createActivity, createActivity, findActivity, getActivities, getExecutionListeners, getExecutionListeners, getIoSpecification, setIoSpecificationgetId, getProcessDefinition, getProperties, getProperty, setProperties, setPropertyclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfindActivity, getActivitiesgetId, getProcessDefinition, getPropertyprotected String name
protected String key
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 PvmProcessDefinitionpublic 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 ReadOnlyProcessDefinitionpublic String getDeploymentId()
getDeploymentId in interface PvmProcessDefinitionpublic void addLaneSet(LaneSet newLaneSet)
public ActivityImpl getInitial()
getInitial in interface ReadOnlyProcessDefinitionpublic void setInitial(ActivityImpl initial)
public String getName()
getName in interface ReadOnlyProcessDefinitionpublic void setName(String name)
public String getKey()
getKey in interface ReadOnlyProcessDefinitionpublic void setKey(String key)
public String getDescription()
getDescription in interface ReadOnlyProcessDefinitionpublic List<LaneSet> getLaneSets()
public void setParticipantProcess(ParticipantProcess participantProcess)
public ParticipantProcess getParticipantProcess()
Copyright © 2016 Alfresco. All rights reserved.