Interface SourceCallback
- All Known Implementing Classes:
ChainingSourceCallback
,CoverageTracingLogger
,JsonWriter
,UniqueSourceCallback
public interface SourceCallback
Source callback handles parsed source files from coverage reports.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
onBegin()
Called before source parsing has started.void
Called after all sources are handled.void
Handles a parsed source file.
-
Method Details
-
onBegin
Called before source parsing has started.- Throws:
ProcessingException
- if processing failsIOException
- if an I/O error occurs
-
onSource
Handles a parsed source file.- Parameters:
source
- the source file- Throws:
ProcessingException
- if further processing of the source failsIOException
- if an I/O error occurs
-
onComplete
Called after all sources are handled.- Throws:
ProcessingException
- if processing failsIOException
- if an I/O error occurs
-