Interface SheetExporter

    • Method Detail

      • beginSheetExport

        default void beginSheetExport​(SheetTemplate template,
                                      cdc.issues.IssuesHandler<cdc.issues.Issue> issuesHandler)
        Invoked to begin a sheet exports.
        Parameters:
        template - The sheet template associated to this extraction.
        issuesHandler - The issues handler that should be used by the application to generate new issues.
      • getNumberOfRemainingRows

        int getNumberOfRemainingRows()
        Returns:
        The remaining number of rows to extract in current row. It can be an approximation when > 0.
        WARNING: This must be 0 when there are no more rows to export.
        WARNING: This must be a negative number when the number is unknown.
      • hasMore

        default boolean hasMore()
        Returns:
        true if there are no more rows to extract in current sheet.
      • exportRow

        void exportRow​(ExportRow row,
                       cdc.issues.IssuesHandler<cdc.issues.Issue> issuesHandler)
        Invoked to export the current row in current sheet.
        Parameters:
        row - The row that will contain extracted data.
        issuesHandler - The issues handler that should be used by the application to generate new issues.
      • endSheetExport

        default void endSheetExport​(SheetTemplate template,
                                    cdc.issues.IssuesHandler<cdc.issues.Issue> issuesHandler)
        Invoked to end a sheet export.
        Parameters:
        template - The sheet template associated to this extraction.
        issuesHandler - The issues handler that should be used by the application to generate new issues.