Class Execution
java.lang.Object
com.lumiomedical.flow.impl.pipeline.runtime.execution.Execution
public class Execution extends Object
- Author:
- Pierre Lecerf ([email protected]) Created on 2020/03/03
-
Constructor Summary
Constructors Constructor Description Execution()
-
Method Summary
-
Constructor Details
-
Execution
public Execution()
-
-
Method Details
-
launch
Actually executes the Node passed as parameter. The method is responsible for : - extracting the node's input parameters from the Heap - identifying the node's method signature - upon success: push the return values to the Heap - upon failure: either abort the Node, stop or abort the Runtime Note that in the current implementation, only "blocking" errors are handled, resulting in a complete exit from the pipe. Returning false was designed as a mean for a "soft exit" which results in blocking downstream paths while continuing on running paths that are still valid.- Parameters:
node
- Target nodeheap
- Heap object used for retrieving module parameters- Returns:
- true upon a successful execution, false otherwise
- Throws:
PipelineRunException
-