Package io.jmix.reportsflowui.runner
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 TypeMethodDescriptionbooleanhandle(ReportOutputDocument document, UiReportRunContext context) Handles the report output document produced by the runner.
-
Method Details
-
handle
Handles the report output document produced by the runner.- Parameters:
document- the generated report documentcontext- the run context that produced the document- Returns:
trueif the document was handled and further handlers should not be invoked,falseto pass to the next handler
-