|
||||||||||
| 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.Task
public class Task
The Class Task is a task which is implemented by a single computational entity. It's either an AtomicTask or a Subworkflow.
| Constructor Summary | |
|---|---|
Task(java.lang.String name,
java.lang.String tasktype)
Instantiates a new atomic task. |
|
| Method Summary | |
|---|---|
void |
addLoopElement(LoopElement loopelement)
|
void |
addLoopPort(LoopPort loopPort)
|
void |
addUnionPort(UnionPort unionPort)
|
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,...). |
java.lang.String |
getTasktype()
Gets the tasktype of the task. |
int |
hashCode()
|
boolean |
isSubWorkflow()
Checks if the task is a sub workflow. |
void |
setTasktype(java.lang.String tasktype)
Sets the tasktype of the task. |
void |
updateWorkflow(IWIR iwir,
AbstractCompoundTask parent,
org.shiwa.fgi.iwir.TaskGroup body)
|
| Methods inherited from class org.shiwa.fgi.iwir.AbstractTask |
|---|
addConstraint, addInputPort, addOutputPort, addProperty, getChildren, 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 Task(java.lang.String name,
java.lang.String tasktype)
name - the name of the tasktasktype - the type of the task| Method Detail |
|---|
public java.lang.String getTasktype()
public void setTasktype(java.lang.String tasktype)
tasktype - the new task tasktypepublic void addLoopPort(LoopPort loopPort)
public void addUnionPort(UnionPort unionPort)
public void addLoopElement(LoopElement loopelement)
public java.util.List<AbstractDataPort> getAllInputPorts()
AbstractTask
getAllInputPorts in class AbstractTaskpublic java.util.List<AbstractDataPort> getAllOutputPorts()
AbstractTask
getAllOutputPorts in class AbstractTaskpublic boolean isSubWorkflow()
public void updateWorkflow(IWIR iwir,
AbstractCompoundTask parent,
org.shiwa.fgi.iwir.TaskGroup body)
public int hashCode()
hashCode in class AbstractTaskpublic boolean equals(java.lang.Object obj)
equals in class AbstractTask
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||