Package org.revapi.reporter.json
Class JsonReporter
- java.lang.Object
-
- org.revapi.reporter.file.AbstractFileReporter
-
- org.revapi.reporter.json.JsonReporter
-
- All Implemented Interfaces:
AutoCloseable
,org.revapi.configuration.Configurable
,org.revapi.Reporter
public class JsonReporter extends org.revapi.reporter.file.AbstractFileReporter
-
-
Constructor Summary
Constructors Constructor Description JsonReporter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
doReport(org.revapi.Report report)
protected void
flushReports()
String
getExtensionId()
Reader
getJSONSchema()
void
initialize(org.revapi.AnalysisContext analysisContext)
protected void
setOutput(PrintWriter wrt)
-
-
-
Method Detail
-
setOutput
protected void setOutput(PrintWriter wrt)
- Overrides:
setOutput
in classorg.revapi.reporter.file.AbstractFileReporter
-
getExtensionId
public String getExtensionId()
-
initialize
public void initialize(@Nonnull org.revapi.AnalysisContext analysisContext)
- Specified by:
initialize
in interfaceorg.revapi.configuration.Configurable
- Overrides:
initialize
in classorg.revapi.reporter.file.AbstractFileReporter
-
flushReports
protected void flushReports()
- Specified by:
flushReports
in classorg.revapi.reporter.file.AbstractFileReporter
-
doReport
protected void doReport(org.revapi.Report report)
- Specified by:
doReport
in classorg.revapi.reporter.file.AbstractFileReporter
-
-