Class JsonWriter
java.lang.Object
org.eluder.coveralls.maven.plugin.json.JsonWriter
- All Implemented Interfaces:
Closeable
,AutoCloseable
,SourceCallback
-
Field Details
-
TIMESTAMP_FORMAT
- See Also:
-
-
Constructor Details
-
JsonWriter
- Throws:
IOException
-
-
Method Details
-
getJob
-
getCoverallsFile
-
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
-
close
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
- Throws:
IOException
-