Class ReportAccumulator

java.lang.Object
io.github.sergeloie.languagecheck.check.ReportAccumulator

public final class ReportAccumulator extends Object
Accumulates per-file results for the final report. Extracted from the former inner class in LanguageCheckTask for testability.
  • Constructor Details

    • ReportAccumulator

      public ReportAccumulator()
  • Method Details

    • fileChecked

      public void fileChecked(String rel)
    • violations

      public void violations(String rel, CheckResult result)
    • skipped

      public void skipped(String rel, String reason)
    • checkedFiles

      public int checkedFiles()
    • totalViolations

      public int totalViolations()
    • violationBlocks

      public List<String> violationBlocks()
    • skippedNotes

      public List<String> skippedNotes()