org.shiwa.fgi.iwir
Class ControlLink
java.lang.Object
org.shiwa.fgi.iwir.AbstractLink
org.shiwa.fgi.iwir.ControlLink
public class ControlLink
- extends AbstractLink
The Class ControlLink provides a way to define a pure flow dependency between
two tasks that does not involve any data dependency. i.e. using only task
names in the link attribute.
Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
ControlLink
public ControlLink(AbstractTask from,
AbstractTask to)
- Instantiates a new control link.
- Parameters:
from
- the source taskto
- the target task
getFromTask
public AbstractTask getFromTask()
- Gets the target task.
- Returns:
- the from task
getToTask
public AbstractTask getToTask()
- Gets the source task.
- Returns:
- the to task
toString
public java.lang.String toString()
- Overrides:
toString
in class AbstractLink