org.syrup
Interface Link

All Known Implementing Classes:
LinkImpl

public interface Link

Links an InPort from one Task to an OutPort of another Task.

Author:
Robbert van Dalen

Field Summary
static java.lang.String COPYRIGHT
           
 
Method Summary
 Data content()
          Returns the content held by the Link.
 OutPort from()
          Returns the OutPort of the Link.
 InPort to()
          Returns the InPort of the Link.
 

Field Detail

COPYRIGHT

public static final java.lang.String COPYRIGHT
See Also:
Constant Field Values
Method Detail

from

public OutPort from()
Returns the OutPort of the Link. May return null to indicate a start point.

Returns:
The Link's OutPort.

to

public InPort to()
Returns the InPort of the Link. May return null to indicate an end point.

Returns:
The Link's InPort.

content

public Data content()
Returns the content held by the Link.

Returns:
The Link's Content.