|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.shiwa.fgi.iwir.AbstractTask
org.shiwa.fgi.iwir.AbstractCompoundTask
org.shiwa.fgi.iwir.AbstractSimpleCompoundTask
org.shiwa.fgi.iwir.ParallelForEachTask
public class ParallelForEachTask
The Class ParallelForEachTask provides the iteration over a data package without synchronization.
Constructor Summary | |
---|---|
ParallelForEachTask(java.lang.String name)
Instantiates a new parallel for each task. |
Method Summary | |
---|---|
void |
addLoopElement(LoopElement loopelement)
Adds an additional loop element to the task. |
java.util.List<AbstractDataPort> |
getAllInputPorts()
Returns a list of all input ports (inputPort, loopPoort,...). |
java.util.List<AbstractDataPort> |
getAllOutputPorts()
Returns a list of all output ports (outputPort, unionPort,...). |
java.util.List<LoopElement> |
getLoopElements()
Returns a shallow copy of the loop elements. |
Methods inherited from class org.shiwa.fgi.iwir.AbstractSimpleCompoundTask |
---|
addTask, equals, getBodyTasks, getChildren, hashCode |
Methods inherited from class org.shiwa.fgi.iwir.AbstractCompoundTask |
---|
addLink, addLink, getControlLinks, getDataLinks, getLinks |
Methods inherited from class org.shiwa.fgi.iwir.AbstractTask |
---|
addConstraint, addInputPort, addOutputPort, addProperty, getConstraints, getInputPorts, getName, getOutputPorts, getParentTask, getPort, getProperties, getUniqueId, isTopLevelTask, removeProperty, setPortValue, setPortValue, setPortValue, setPortValue, toString |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ParallelForEachTask(java.lang.String name)
name
- the name of the task.Method Detail |
---|
public void addLoopElement(LoopElement loopelement) throws NotWellFormedException
loopelement
- the loopelement to add to the task
NotWellFormedException
- the not well formed exceptionpublic java.util.List<LoopElement> getLoopElements()
public java.util.List<AbstractDataPort> getAllInputPorts()
AbstractTask
getAllInputPorts
in class AbstractTask
public java.util.List<AbstractDataPort> getAllOutputPorts()
AbstractTask
getAllOutputPorts
in class AbstractTask
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |