Class EvidenceReportFacade.Handle

java.lang.Object
org.egothor.methodatlas.evidencereport.EvidenceReportFacade.Handle
Enclosing class:
EvidenceReportFacade

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

    Modifier and Type
    Method
    Description
    org.egothor.methodatlas.emit.TestMethodSink
    Returns the TestMethodSink that the orchestrator must receive every per-method record on.
    void
    write(String toolVersion, Path outputFile)
    Builds the evidence report and writes it to outputFile as Markdown.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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 evidence report and writes it to outputFile as Markdown.
      Parameters:
      toolVersion - resolved tool version string
      outputFile - destination path
      Throws:
      IOException - if the file cannot be written