Interface ReportResultHandler

All Known Implementing Classes:
SpreadsheetInlineReportResultHandler, TableReportResultHandler

@NullMarked public interface ReportResultHandler
Strategy interface for handling a completed report execution.

Implementations are collected by the runner and called in @Order sequence until one returns true. Implementations should be annotated with @Component and @Order.

  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Handles the report output document produced by the runner.
  • Method Details

    • handle

      boolean handle(ReportOutputDocument document, UiReportRunContext context)
      Handles the report output document produced by the runner.
      Parameters:
      document - the generated report document
      context - the run context that produced the document
      Returns:
      true if the document was handled and further handlers should not be invoked, false to pass to the next handler