org.shiwa.fgi.iwir
Class ControlLink

java.lang.Object
  extended by org.shiwa.fgi.iwir.AbstractLink
      extended by 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.


Constructor Summary
ControlLink(AbstractTask from, AbstractTask to)
          Instantiates a new control link.
 
Method Summary
 AbstractTask getFromTask()
          Gets the target task.
 AbstractTask getToTask()
          Gets the source task.
 java.lang.String toString()
           
 
Methods inherited from class org.shiwa.fgi.iwir.AbstractLink
equals, getFrom, getTo, hashCode
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ControlLink

public ControlLink(AbstractTask from,
                   AbstractTask to)
Instantiates a new control link.

Parameters:
from - the source task
to - the target task
Method Detail

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