- All Implemented Interfaces:
- public class Finish
- extends java.lang.Object
- implements Function
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(?).
- Robbert van Dalen
|Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public Result execute(Context context)
- Description copied from interface:
- Generates a Result given a Task's Context. Implementations should not
throw Exceptions, retain Objects or any other resources after the calling
Thread exits this method.
- Specified by:
execute in interface
context - The Context from which the Function get its parameters.
- The Result after execution.