|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.syrup.helpers.WorkflowImpl
A generic Workflow implementation.
Constructor Summary | |
WorkflowImpl(ResultImpl r,
NetworkImpl n)
Constructor for the WorkflowImpl object |
Method Summary | |
Context |
context()
Returns the Context from which the Result is computed. |
InPort |
in_1_binding()
Returns the new InPort that the parent's first input will be re-linked to. |
boolean |
in_1_consumed()
Returns true if the first input has been consumed. |
InPort |
in_2_binding()
Returns the new InPort that the parent's second input will be re-linked to. |
boolean |
in_2_consumed()
Returns true if the second input has been consumed. |
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. |
Data |
out_1_result()
Returns the first resulting output. |
OutPort |
out_2_binding()
Returns the new OutPort that the parent's second output will be re-linked to. |
Data |
out_2_result()
Return the second resulting output. |
Task[] |
tasks()
Returns all Tasks of this Workflow. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public WorkflowImpl(ResultImpl r, NetworkImpl n)
r
- The ResultImpl that provides the Result implementation.n
- The NetworkImpl that provides the Network implementation.Method Detail |
public Context context()
Result
context
in interface Result
public boolean in_1_consumed()
Result
in_1_consumed
in interface Result
public boolean in_2_consumed()
Result
in_2_consumed
in interface Result
public Data out_1_result()
Result
out_1_result
in interface Result
public Data out_2_result()
Result
out_2_result
in interface Result
public InPort in_1_binding()
Workflow
in_1_binding
in interface Workflow
public InPort in_2_binding()
Workflow
in_2_binding
in interface Workflow
public OutPort out_1_binding()
Workflow
out_1_binding
in interface Workflow
public OutPort out_2_binding()
Workflow
out_2_binding
in interface Workflow
public Task[] tasks()
Workflow
tasks
in interface Workflow
public Link[] links()
Workflow
links
in interface Workflow
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |