|
||||||||||
| 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.ForEachTask
public class ForEachTask
The Class ForEachTask enables the iteration over a data package collection.
| Constructor Summary | |
|---|---|
ForEachTask(java.lang.String name)
Instantiates a new for each task. |
|
| Method Summary | |
|---|---|
void |
addLoopElement(LoopElement loopelement)
Adds an additional loop element to the task Throws a NotWellFormedException if loop element already exist, for example. |
void |
addLoopPort(LoopPort loopPort)
Adds an additional loop port to the task Throws a NotWellFormedException if loop port already exist, for example. |
void |
addUnionPort(UnionPort unionPort)
Adds an additional union port 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. |
java.util.List<LoopPort> |
getLoopPorts()
Returns a shallow copy of the loop ports. |
java.util.List<UnionPort> |
getUnionPorts()
Returns a shallow copy of the union ports. |
| 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 ForEachTask(java.lang.String name)
name - the name of the for each task| Method Detail |
|---|
public void addLoopPort(LoopPort loopPort)
throws NotWellFormedException
loopPort - the loopport to add to the task
NotWellFormedException
public void addLoopElement(LoopElement loopelement)
throws NotWellFormedException
loopelement - the loopelement to add to the task
NotWellFormedException
public void addUnionPort(UnionPort unionPort)
throws NotWellFormedException
unionPort - the union port to add to the task
NotWellFormedExceptionpublic java.util.List<LoopPort> getLoopPorts()
public java.util.List<LoopElement> getLoopElements()
public java.util.List<UnionPort> getUnionPorts()
public java.util.List<AbstractDataPort> getAllInputPorts()
AbstractTask
getAllInputPorts in class AbstractTaskpublic 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 | |||||||||