|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.syrup.functions.Finish
Checks if the Task that is connected to the first input is done and if not, the first input will be copied to the first output. Otherwise, the first input will be copied to first and the second output. Used to detect the termination of (partial) Workflows. Could be considered as non-pure(?).
Constructor Summary | |
Finish()
|
Method Summary | |
Result |
execute(Context context)
Generates a Result given a Task's Context. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public Finish()
Method Detail |
public Result execute(Context context)
Function
execute
in interface Function
context
- The Context from which the Function get its parameters.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |