public class ProcessDefinitionImpl extends ScopeImpl implements PvmProcessDefinition
ScopeImpl.BacklogErrorCallback
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 |
BACKLOG, eventActivities, flowActivities, isSubProcessScope, namedFlowActivities, processDefinition
ioMapping
builtInListeners, builtInVariableListeners, id, listeners, properties, variableListeners
Constructor and Description |
---|
ProcessDefinitionImpl(String id) |
addExecutionListener, addExecutionListener, addToBacklog, contains, createActivity, findActivity, findActivityAtLevelOfSubprocess, findTransition, getActivities, getBacklogErrorCallbacks, getChildActivity, getEventActivities, getExecutionListeners, getExecutionListeners, getProcessDefinition, isAncestorFlowScopeOf, isBacklogEmpty, setSubProcessScope
createActivity, getIoMapping, setIoMapping
addBuiltInListener, addBuiltInListener, addBuiltInVariableListener, addBuiltInVariableListener, addListener, addListener, addListenerToMap, addVariableListener, addVariableListener, getBuiltInListeners, getBuiltInListeners, getBuiltInVariableListeners, getBuiltInVariableListenersLocal, getId, getListeners, getListeners, getName, getProperties, getProperty, getVariableListeners, getVariableListenersLocal, setId, setName, setProperties, setProperty
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getName
findActivity, findActivityAtLevelOfSubprocess, findTransition, getActivities
getId, getProcessDefinition, getProperties, getProperty
protected String name
protected String description
protected ActivityImpl initial
protected Map<ActivityImpl,List<ActivityImpl>> initialActivityStacks
protected ParticipantProcess participantProcess
public ProcessDefinitionImpl(String id)
protected void ensureDefaultInitialExists()
public PvmProcessInstance createProcessInstance()
createProcessInstance
in interface PvmProcessDefinition
public PvmProcessInstance createProcessInstance(String businessKey)
createProcessInstance
in interface PvmProcessDefinition
public PvmProcessInstance createProcessInstance(String businessKey, String caseInstanceId)
createProcessInstance
in interface PvmProcessDefinition
public PvmProcessInstance createProcessInstance(String businessKey, ActivityImpl initial)
public PvmProcessInstance createProcessInstance(String businessKey, String caseInstanceId, ActivityImpl initial)
public PvmProcessInstance createProcessInstanceForInitial(ActivityImpl initial)
protected PvmExecutionImpl newProcessInstance()
public List<ActivityImpl> getInitialActivityStack()
public List<ActivityImpl> getInitialActivityStack(ActivityImpl startActivity)
public String getDiagramResourceName()
getDiagramResourceName
in interface ReadOnlyProcessDefinition
public String getDeploymentId()
getDeploymentId
in interface PvmProcessDefinition
public void addLaneSet(LaneSet newLaneSet)
public CoreActivityBehavior<? extends BaseDelegateExecution> getActivityBehavior()
getActivityBehavior
in class CoreActivity
public ActivityImpl getInitial()
getInitial
in interface ReadOnlyProcessDefinition
public void setInitial(ActivityImpl initial)
public String toString()
toString
in class CoreActivity
public String getDescription()
getDescription
in interface ReadOnlyProcessDefinition
public List<LaneSet> getLaneSets()
public void setParticipantProcess(ParticipantProcess participantProcess)
public ParticipantProcess getParticipantProcess()
public boolean isScope()
PvmScope
Note: the fact that this is a scope does not mean that it is also a
sub process scope.
public PvmScope getEventScope()
PvmScope
flow scope.
.
Consider: boundary events have a different event scope than flow scope.
The event scope is always a scope
.
getEventScope
in interface PvmScope
public ScopeImpl getFlowScope()
PvmScope
Note: in order to ensure backwards compatible behavior, a flow scope is not necessarily
a a scope
. Example: event sub processes.
getFlowScope
in interface PvmScope
public PvmScope getLevelOfSubprocessScope()
PvmScope
getLevelOfSubprocessScope
in interface PvmScope
public boolean isSubProcessScope()
PvmScope
isSubProcessScope
in interface PvmScope
isSubProcessScope
in class ScopeImpl
Copyright © 2017. All rights reserved.