public abstract class ScopeImpl extends ProcessElementImpl implements PvmScope
Modifier and Type | Field and Description |
---|---|
protected List<ActivityImpl> |
activities |
protected Map<String,List<ExecutionListener>> |
executionListeners |
protected Map<String,ActivityImpl> |
namedActivities |
id, processDefinition, properties
Constructor and Description |
---|
ScopeImpl(String id,
ProcessDefinitionImpl processDefinition) |
Modifier and Type | Method and Description |
---|---|
void |
addExecutionListener(String eventName,
ExecutionListener executionListener) |
void |
addExecutionListener(String eventName,
ExecutionListener executionListener,
int index) |
boolean |
contains(ActivityImpl activity) |
ActivityImpl |
createActivity() |
ActivityImpl |
createActivity(String activityId) |
ActivityImpl |
findActivity(String activityId)
searches for the activity recursively
|
List<ActivityImpl> |
getActivities() |
ActivityImpl |
getChildActivity(String activityId)
searches for the activity locally
|
Map<String,List<ExecutionListener>> |
getExecutionListeners() |
List<ExecutionListener> |
getExecutionListeners(String eventName) |
abstract ScopeImpl |
getParentScope() |
getId, getProcessDefinition, getProperties, getProperty, setProperties, setProperty
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getId, getProcessDefinition, getProperty
protected List<ActivityImpl> activities
protected Map<String,ActivityImpl> namedActivities
protected Map<String,List<ExecutionListener>> executionListeners
public ScopeImpl(String id, ProcessDefinitionImpl processDefinition)
public ActivityImpl findActivity(String activityId)
findActivity
in interface PvmScope
public ActivityImpl getChildActivity(String activityId)
public ActivityImpl createActivity()
public ActivityImpl createActivity(String activityId)
public boolean contains(ActivityImpl activity)
public List<ExecutionListener> getExecutionListeners(String eventName)
public void addExecutionListener(String eventName, ExecutionListener executionListener)
public void addExecutionListener(String eventName, ExecutionListener executionListener, int index)
public Map<String,List<ExecutionListener>> getExecutionListeners()
public List<ActivityImpl> getActivities()
getActivities
in interface PvmScope
public abstract ScopeImpl getParentScope()
Copyright © 2015. All rights reserved.