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 IOSpecification |
ioSpecification |
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) |
List<ActivityImpl> |
getActivities() |
Map<String,List<ExecutionListener>> |
getExecutionListeners() |
List<ExecutionListener> |
getExecutionListeners(String eventName) |
IOSpecification |
getIoSpecification() |
void |
setIoSpecification(IOSpecification ioSpecification) |
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
protected IOSpecification ioSpecification
public ScopeImpl(String id, ProcessDefinitionImpl processDefinition)
public ActivityImpl findActivity(String activityId)
findActivity
in interface PvmScope
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 IOSpecification getIoSpecification()
public void setIoSpecification(IOSpecification ioSpecification)
Copyright © 2015. All rights reserved.