org.syrup
Interface Context

All Known Implementing Classes:
ContextImpl

public interface Context

The surrounding Context of a PTask. All inputs and outputs linked to a single PTask can be accessed via this Context.

Author:
Robbert van Dalen

Field Summary
static java.lang.String COPYRIGHT
           
 
Method Summary
 Link in_1_link()
          The first input Link of this Context's PTask.
 Link in_2_link()
          The second input Link of this Context's PTask.
 Link out_1_link()
          The first output Link of this Context's PTask.
 Link out_2_link()
          The second output Link of this Context's PTask.
 PTask task()
          The PTask this Context represents.
 

Field Detail

COPYRIGHT

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

task

public PTask task()
The PTask this Context represents.

Returns:
The PTask.

in_1_link

public Link in_1_link()
The first input Link of this Context's PTask.

Returns:
The first input Link.

in_2_link

public Link in_2_link()
The second input Link of this Context's PTask.

Returns:
The second input Link.

out_1_link

public Link out_1_link()
The first output Link of this Context's PTask.

Returns:
The first output Link.

out_2_link

public Link out_2_link()
The second output Link of this Context's PTask.

Returns:
The second output Link.