Interface StepExecutor

Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface StepExecutor
Functional interface for executing a single plan step.

Implementations provide the actual execution logic for each step, whether that's calling a tool, invoking an API, or running code.

Since:
0.3.0
See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    Executes a single plan step and returns the result.
  • Method Details

    • execute

      Executes a single plan step and returns the result.
      Parameters:
      step - the step to execute
      Returns:
      the execution result