org.smartcomps.twister.engine.priv.core.dynamic
Interface StructuredEC
- All Superinterfaces:
- ExecutionContext
- All Known Subinterfaces:
- FlowEC, PickEC, SequenceEC, SwitchEC, WhileEC
- All Known Implementing Classes:
- FlowECImpl, PickECImpl, SequenceECImpl, StructuredECImpl, SwitchECImpl, WhileECImpl
- public interface StructuredEC
- extends ExecutionContext
Please put some JavaDoc here.
Method Summary |
void |
addExecutionContext(org.smartcomps.twister.engine.priv.core.dynamic.ExecutionContext ec)
|
org.smartcomps.twister.engine.priv.core.definition.StructuredActivity |
getActivity()
|
org.smartcomps.twister.engine.priv.core.definition.Activity |
getActivityForChildContext(org.smartcomps.twister.engine.priv.core.dynamic.ExecutionContext ec)
Returns the origin activity of the passed child execution context. |
org.smartcomps.twister.engine.priv.core.dynamic.ExecutionContext |
getExecution(org.smartcomps.twister.engine.priv.core.definition.Activity childActivity)
Returns the execution context created in this structured execution from
the provided activity. |
java.util.List |
getExecutionContexts()
|
void |
notifyExecution(org.smartcomps.twister.engine.priv.core.dynamic.ExecutionContext ec)
|
void |
notifyTermination(org.smartcomps.twister.engine.priv.core.dynamic.ExecutionContext ec)
|
void |
setActivity(org.smartcomps.twister.engine.priv.core.definition.StructuredActivity activity)
|
getActivity
public org.smartcomps.twister.engine.priv.core.definition.StructuredActivity getActivity()
setActivity
public void setActivity(org.smartcomps.twister.engine.priv.core.definition.StructuredActivity activity)
getExecutionContexts
public java.util.List getExecutionContexts()
addExecutionContext
public void addExecutionContext(org.smartcomps.twister.engine.priv.core.dynamic.ExecutionContext ec)
getActivityForChildContext
public org.smartcomps.twister.engine.priv.core.definition.Activity getActivityForChildContext(org.smartcomps.twister.engine.priv.core.dynamic.ExecutionContext ec)
- Returns the origin activity of the passed child execution context.
- Parameters:
ec
- the execution context to get origin activity for
- Returns:
getExecution
public org.smartcomps.twister.engine.priv.core.dynamic.ExecutionContext getExecution(org.smartcomps.twister.engine.priv.core.definition.Activity childActivity)
- Returns the execution context created in this structured execution from
the provided activity. If several execution contexts exist (like for a
WhileEC for example), only the last created is returned.
- Parameters:
childActivity
-
- Returns:
- Collection of execution contexts corresponding to the provided activity
notifyExecution
public void notifyExecution(org.smartcomps.twister.engine.priv.core.dynamic.ExecutionContext ec)
notifyTermination
public void notifyTermination(org.smartcomps.twister.engine.priv.core.dynamic.ExecutionContext ec)
Copyright © 2003 SmartComps. All Rights Reserved.