|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Defines a network of new Tasks and Links between them.
The only way to create new Tasks is for a PTask's Function to return a
Workflow as a Result. This PTask will then become the parent of the newly
defined Tasks. Additionally, the network bindings specify how new Tasks are
re-linked to their parent's inputs and outputs.
After the Workflow is committed to the WorkSpace, all Tasks contained by this
Workflow will be turned into PTasks. After committing, the inputs and outputs
of the parent PTask are set to the new PTasks - as defined by the bindings.
Field Summary | |
static java.lang.String |
COPYRIGHT
|
Method Summary | |
InPort |
in_1_binding()
Returns the new InPort that the parent's first input will be re-linked to. |
InPort |
in_2_binding()
Returns the new InPort that the parent's second input will be re-linked to. |
Link[] |
links()
Returns all Links between Tasks of this Workflow. |
OutPort |
out_1_binding()
Returns the new OutPort that the parent's first output will be re-linked to. |
OutPort |
out_2_binding()
Returns the new OutPort that the parent's second output will be re-linked to. |
Task[] |
tasks()
Returns all Tasks of this Workflow. |
Methods inherited from interface org.syrup.Result |
context, in_1_consumed, in_2_consumed, out_1_result, out_2_result |
Field Detail |
public static final java.lang.String COPYRIGHT
Method Detail |
public InPort in_1_binding()
public InPort in_2_binding()
public OutPort out_1_binding()
public OutPort out_2_binding()
public Task[] tasks()
public Link[] links()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |