Class JsonReporter

  • All Implemented Interfaces:
    AutoCloseable, org.revapi.configuration.Configurable, org.revapi.Reporter

    public class JsonReporter
    extends org.revapi.reporter.file.AbstractFileReporter
    • Constructor Detail

      • JsonReporter

        public JsonReporter()
    • Method Detail

      • setOutput

        protected void setOutput​(PrintWriter wrt)
        Overrides:
        setOutput in class org.revapi.reporter.file.AbstractFileReporter
      • getExtensionId

        public String getExtensionId()
      • initialize

        public void initialize​(@Nonnull
                               org.revapi.AnalysisContext analysisContext)
        Specified by:
        initialize in interface org.revapi.configuration.Configurable
        Overrides:
        initialize in class org.revapi.reporter.file.AbstractFileReporter
      • flushReports

        protected void flushReports()
        Specified by:
        flushReports in class org.revapi.reporter.file.AbstractFileReporter
      • doReport

        protected void doReport​(org.revapi.Report report)
        Specified by:
        doReport in class org.revapi.reporter.file.AbstractFileReporter