Interface CaptureDelegate

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 CaptureDelegate
Seam over the standalone CaptureCli engine (file-to-code codegen, no MCP session), so codegen can be unit-tested without exercising the real generator. The production implementation is a CaptureCli::run method reference; tests supply a fake.
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    run(String[] args, List<String> launchPrefix)
     
  • Method Details

    • run

      int run(String[] args, List<String> launchPrefix)
      Parameters:
      args - the CaptureCli command-line arguments (e.g. generate --session ...)
      launchPrefix - the daemon relaunch command prefix (generate does not use it)
      Returns:
      the process-style exit code