Package org.egothor.methodatlas.coverage
Class CoverageFacade.Handle
java.lang.Object
org.egothor.methodatlas.coverage.CoverageFacade.Handle
- Enclosing class:
CoverageFacade
Opaque handle returned by
CoverageFacade.prepare(Path, double). Carries the
collector through the scan and yields the report when the scan is done.-
Method Summary
-
Method Details
-
asSink
public org.egothor.methodatlas.emit.TestMethodSink asSink()Returns theTestMethodSinkthat the orchestrator must receive every per-method record on.- Returns:
- collector as a sink
-
write
Builds the report and writes it tooutputFile.- Parameters:
toolVersion- resolved tool version stringoutputFile- destination path- Throws:
IOException- if the file cannot be written
-