Class FlowUpModuleStoreIterator

java.lang.Object
   |
   +----java.util.VectorIterator
           |
           +----ModuleStoreIterator
                   |
                   +----FlowUpModuleStoreIterator

class FlowUpModuleStoreIterator
extends ModuleStoreIterator
FlowUpModuleStoreIterator is one of two classes that can be used to walk (depth first bottom-up) through a network of modules. This class uses the action method on modules of this StoreIterator and proceeds to modules above via the inconnectors by using the FlowUpInConnectorStoreIterator.

See Also:
FlowUpInConnectorStoreIterator, Module

Variable Index

 o flowUp
The FlowIteration object contains the specific methods that will be run when the action method is run from the action method defined in this class.

Constructor Index

 o FlowUpModuleStoreIterator(FlowIteration)

Method Index

 o action(Module)
In action the followAction method is run on all modules that fulfil the module PreCondition.

Variables

 o flowUp
 private FlowIteration flowUp
The FlowIteration object contains the specific methods that will be run when the action method is run from the action method defined in this class.

See Also:
FlowIteration, action

Constructors

 o FlowUpModuleStoreIterator
 FlowUpModuleStoreIterator(FlowIteration fu)
Parameters:
fu - The flowDown object contains the specific functions that will be run on each module. They will have to be passed on to the other FlowDown Iterators in order to be known every time this class is used. They must be known in the action method of this class. A less beautifull solution would have been to make the flowDown variable static.
See Also:
FlowIteration, action

Methods

 o action
 public void action(Module m)
In action the followAction method is run on all modules that fulfil the module PreCondition. Go to the modules above (via the in connector of this module) when the modulePostCondition is fulfilled.

Overrides:
action in class ModuleStoreIterator
See Also:
FlowUpInConnectorStoreIterator, FlowUp