|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.camunda.bpm.engine.impl.core.model.CoreModelElement
org.camunda.bpm.engine.impl.core.model.CoreActivity
org.camunda.bpm.engine.impl.pvm.process.ScopeImpl
public abstract class ScopeImpl
A Bpmn scope. The scope has references to two lists of activities:
- the flow activities (activities for which the flow scope is this scope
- event listener activities (activities for which the event scope is this scope.
| Field Summary | |
|---|---|
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
|
| Fields inherited from class org.camunda.bpm.engine.impl.core.model.CoreActivity |
|---|
ioMapping |
| Fields inherited from class org.camunda.bpm.engine.impl.core.model.CoreModelElement |
|---|
builtInListeners, builtInVariableListeners, id, listeners, name, properties, variableListeners |
| Constructor Summary | |
|---|---|
ScopeImpl(String id,
ProcessDefinitionImpl processDefinition)
|
|
| Method Summary | |
|---|---|
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)
|
| Methods inherited from class org.camunda.bpm.engine.impl.core.model.CoreActivity |
|---|
createActivity, getActivityBehavior, getIoMapping, setIoMapping, toString |
| Methods inherited from class org.camunda.bpm.engine.impl.core.model.CoreModelElement |
|---|
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 |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.camunda.bpm.engine.impl.pvm.PvmScope |
|---|
getEventScope, getFlowScope, getLevelOfSubprocessScope, isScope |
| Methods inherited from interface org.camunda.bpm.engine.impl.pvm.PvmProcessElement |
|---|
getId, getProperty |
| Field Detail |
|---|
protected boolean isSubProcessScope
protected List<ActivityImpl> flowActivities
protected Map<String,ActivityImpl> namedFlowActivities
protected ProcessDefinitionImpl processDefinition
| Constructor Detail |
|---|
public ScopeImpl(String id,
ProcessDefinitionImpl processDefinition)
| Method Detail |
|---|
public ActivityImpl findActivity(String activityId)
CoreActivity
findActivity in interface PvmScopefindActivity in class CoreActivityactivityId - the id of the activity to find.
public TransitionImpl findTransition(String transitionId)
PvmScope
findTransition in interface PvmScopetransitionId - the transiton to find
public ActivityImpl findActivityAtLevelOfSubprocess(String activityId)
PvmScope
findActivityAtLevelOfSubprocess in interface PvmScopeactivityId - the id of the activity to find.
public ActivityImpl getChildActivity(String activityId)
getChildActivity in class CoreActivitypublic ActivityImpl createActivity(String activityId)
createActivity in class CoreActivitypublic 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()
PvmScopeflow scope.
getActivities in interface PvmScopegetActivities in class CoreActivitypublic boolean isSubProcessScope()
PvmScope
isSubProcessScope in interface PvmScopepublic void setSubProcessScope(boolean isSubProcessScope)
public ProcessDefinitionImpl getProcessDefinition()
PvmProcessElement
getProcessDefinition in interface PvmProcessElement
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||