|
||||||||||
| 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.WhileTask
public class WhileTask
The Class WhileTask.
| Constructor Summary | |
|---|---|
WhileTask(java.lang.String name)
Instantiates a new while task. |
|
WhileTask(java.lang.String name,
ConditionExpression condition)
Instantiates a new while task. |
|
| Method Summary | |
|---|---|
void |
addLoopPort(LoopPort loopPort)
Adds an additional loop port to the task. |
void |
addUnionPort(UnionPort unionPort)
Adds an additional union port to the task. |
boolean |
equals(java.lang.Object obj)
|
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,...). |
ConditionExpression |
getCondition()
Gets the condition. |
java.util.List<LoopPort> |
getLoopPorts()
Returns a shallow copy of the loop ports of the task. |
java.util.List<UnionPort> |
getUnionPorts()
Returns a shallow copy of the union ports of the task. |
int |
hashCode()
|
void |
setCondition(ConditionExpression condition)
Sets the condition. |
| Methods inherited from class org.shiwa.fgi.iwir.AbstractSimpleCompoundTask |
|---|
addTask, getBodyTasks, getChildren |
| 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 WhileTask(java.lang.String name)
name - the name of the while task
public WhileTask(java.lang.String name,
ConditionExpression condition)
name - the name of the while taskcondition - the condition of the while task| Method Detail |
|---|
public ConditionExpression getCondition()
public void setCondition(ConditionExpression condition)
condition - the new condition
public void addLoopPort(LoopPort loopPort)
throws NotWellFormedException
loopPort - the loopport to add
NotWellFormedException - the not well formed exception
public void addUnionPort(UnionPort unionPort)
throws NotWellFormedException
unionPort - the unionport to add
NotWellFormedExceptionpublic java.util.List<LoopPort> getLoopPorts()
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 AbstractTaskpublic int hashCode()
hashCode in class AbstractSimpleCompoundTaskpublic boolean equals(java.lang.Object obj)
equals in class AbstractSimpleCompoundTask
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||