public interface PvmScope extends PvmProcessElement
Modifier and Type | Method and Description |
---|---|
PvmActivity |
findActivity(String activityId)
Recursively finds a flow activity.
|
PvmActivity |
findActivityAtLevelOfSubprocess(String activityId)
Finds an activity at the same level of subprocess.
|
TransitionImpl |
findTransition(String transitionId)
Recursively finds a transition.
|
List<? extends PvmActivity> |
getActivities()
Returns the flow activities of this scope.
|
PvmScope |
getEventScope()
The event scope for an activity is the scope in which the activity listens for events.
|
ScopeImpl |
getFlowScope()
The flow scope of the activity.
|
PvmScope |
getLevelOfSubprocessScope()
The "level of subprocess scope" as defined in bpmn: this is the subprocess
containing the activity.
|
boolean |
isScope()
Indicates whether this is a local scope for variables and events
if true, there will _always_ be a scope execution created for it.
|
boolean |
isSubProcessScope()
Indicates whether this scope is a sub process scope.
|
getId, getProcessDefinition, getProperties, getProperty
boolean isScope()
Note: the fact that this is a scope does not mean that it is also a
sub process scope.
boolean isSubProcessScope()
PvmScope getEventScope()
flow scope.
.
Consider: boundary events have a different event scope than flow scope.
The event scope is always a scope
.
ScopeImpl getFlowScope()
Note: in order to ensure backwards compatible behavior, a flow scope is not necessarily
a a scope
. Example: event sub processes.
PvmScope getLevelOfSubprocessScope()
List<? extends PvmActivity> getActivities()
flow scope
.PvmActivity findActivity(String activityId)
activityId
- the id of the activity to find.PvmActivity findActivityAtLevelOfSubprocess(String activityId)
activityId
- the id of the activity to find.TransitionImpl findTransition(String transitionId)
transitionId
- the transiton to findCopyright © 2021. All rights reserved.