public abstract class ScopeImpl extends CoreActivity implements PvmScope
flow scope
is this scope
- event listener activities (activities for which the event scope
is this scope.Modifier and Type | Field and Description |
---|---|
protected List<ActivityImpl> |
flowActivities
The activities for which the flow scope is this scope
|
protected boolean |
isSubProcessScope |
protected Map<String,ActivityImpl> |
namedFlowActivities |
protected ProcessDefinitionImpl |
processDefinition |
ioMapping
builtInListeners, builtInVariableListeners, id, listeners, name, properties, variableListeners
Constructor and Description |
---|
ScopeImpl(String id,
ProcessDefinitionImpl processDefinition) |
Modifier and Type | Method and Description |
---|---|
void |
addExecutionListener(String eventName,
ExecutionListener executionListener)
Deprecated.
|
void |
addExecutionListener(String eventName,
ExecutionListener executionListener,
int index)
Deprecated.
|
boolean |
contains(ActivityImpl activity) |
ActivityImpl |
createActivity(String activityId) |
ActivityImpl |
findActivity(String activityId)
searches for the activity recursively
|
ActivityImpl |
findActivityAtLevelOfSubprocess(String activityId)
Finds an activity at the same level of subprocess.
|
TransitionImpl |
findTransition(String transitionId)
Recursively finds a transition.
|
List<ActivityImpl> |
getActivities()
Returns the flow activities of this scope.
|
ActivityImpl |
getChildActivity(String activityId)
searches for the activity locally
|
Map<String,List<ExecutionListener>> |
getExecutionListeners()
Deprecated.
|
List<ExecutionListener> |
getExecutionListeners(String eventName)
Deprecated.
|
ProcessDefinitionImpl |
getProcessDefinition()
The process definition scope, root of the scope hierarchy.
|
boolean |
isSubProcessScope()
Indicates whether this scope is a sub process scope.
|
void |
setSubProcessScope(boolean isSubProcessScope) |
createActivity, getActivityBehavior, getIoMapping, setIoMapping, toString
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
getEventScope, getFlowScope, getLevelOfSubprocessScope, isScope
getId, getProperty
protected boolean isSubProcessScope
protected List<ActivityImpl> flowActivities
protected Map<String,ActivityImpl> namedFlowActivities
protected ProcessDefinitionImpl processDefinition
public ScopeImpl(String id, ProcessDefinitionImpl processDefinition)
public ActivityImpl findActivity(String activityId)
CoreActivity
findActivity
in interface PvmScope
findActivity
in class CoreActivity
activityId
- the id of the activity to find.public TransitionImpl findTransition(String transitionId)
PvmScope
findTransition
in interface PvmScope
transitionId
- the transiton to findpublic ActivityImpl findActivityAtLevelOfSubprocess(String activityId)
PvmScope
findActivityAtLevelOfSubprocess
in interface PvmScope
activityId
- the id of the activity to find.public ActivityImpl getChildActivity(String activityId)
getChildActivity
in class CoreActivity
public ActivityImpl createActivity(String activityId)
createActivity
in class CoreActivity
public boolean contains(ActivityImpl activity)
@Deprecated public List<ExecutionListener> getExecutionListeners(String eventName)
@Deprecated public void addExecutionListener(String eventName, ExecutionListener executionListener)
@Deprecated public void addExecutionListener(String eventName, ExecutionListener executionListener, int index)
@Deprecated public Map<String,List<ExecutionListener>> getExecutionListeners()
public List<ActivityImpl> getActivities()
PvmScope
flow scope
.getActivities
in interface PvmScope
getActivities
in class CoreActivity
public boolean isSubProcessScope()
PvmScope
isSubProcessScope
in interface PvmScope
public void setSubProcessScope(boolean isSubProcessScope)
public ProcessDefinitionImpl getProcessDefinition()
PvmProcessElement
getProcessDefinition
in interface PvmProcessElement
Copyright © 2018. All rights reserved.