Class AttestFacade.Handle

java.lang.Object
org.egothor.methodatlas.attest.AttestFacade.Handle
Enclosing class:
AttestFacade

public static final class AttestFacade.Handle extends Object
Opaque handle returned by AttestFacade.prepare(double, List). Carries the collector through the scan and yields the manifest when the scan is done.
  • Method Details

    • asSink

      public org.egothor.methodatlas.emit.TestMethodSink asSink()
      Returns the TestMethodSink that the orchestrator must receive every per-method record on.
      Returns:
      collector as a sink
    • write

      public void write(String toolVersion, Path outputFile) throws IOException
      Builds the attestation manifest and writes it to outputFile.
      Parameters:
      toolVersion - resolved tool version string
      outputFile - destination path
      Throws:
      IOException - if the file cannot be written