Class PipelineExecutor

java.lang.Object
com.tnsai.coordination.workflow.PipelineExecutor

public final class PipelineExecutor extends Object
Executes workflow steps in a sequential pipeline. Each step's output is available to subsequent steps via the shared context.

Example usage:


 WorkflowResult result = PipelineExecutor.builder()
     .step("fetch", fetchAgent)
     .step("analyze", analyzeAgent)
     .step("report", reportAgent)
     .build()
     .execute(new WorkflowContext("pipeline-1"));