Class ChainingSourceCallback
java.lang.Object
org.eluder.coveralls.maven.plugin.source.ChainingSourceCallback
- All Implemented Interfaces:
SourceCallback
- Direct Known Subclasses:
CoverageTracingLogger
Source callback handler that allows chaining multiple callback handlers. Chained callback
handler is executed after this callback.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal void
onBegin()
Called before source parsing has started.protected void
Defaults to no-op implementation.final void
Called after all sources are handled.protected void
Defaults to no-op implementation.final void
Handles a parsed source file.protected abstract void
onSourceInternal
(Source source) On source internal.
-
Constructor Details
-
ChainingSourceCallback
-
-
Method Details
-
onBegin
Description copied from interface:SourceCallback
Called before source parsing has started.- Specified by:
onBegin
in interfaceSourceCallback
- Throws:
ProcessingException
- if processing failsIOException
- if an I/O error occurs
-
onSource
Description copied from interface:SourceCallback
Handles a parsed source file.- Specified by:
onSource
in interfaceSourceCallback
- Parameters:
source
- the source file- Throws:
ProcessingException
- if further processing of the source failsIOException
- if an I/O error occurs
-
onComplete
Description copied from interface:SourceCallback
Called after all sources are handled.- Specified by:
onComplete
in interfaceSourceCallback
- Throws:
ProcessingException
- if processing failsIOException
- if an I/O error occurs
-
onBeginInternal
Defaults to no-op implementation.- Throws:
ProcessingException
- if processing failsIOException
- if an I/O error occurs- See Also:
-
onSourceInternal
On source internal.- Parameters:
source
- the source file- Throws:
ProcessingException
- if further processing of the source failsIOException
- if an I/O error occurs- See Also:
-
onCompleteInternal
Defaults to no-op implementation.- Throws:
ProcessingException
- if processing failsIOException
- if an I/O error occurs- See Also:
-