32 lines
893 B
C#
32 lines
893 B
C#
using MarketAlly.GitCommitEditor.Models.HistoryHealth;
|
|
|
|
namespace MarketAlly.GitCommitEditor.Services;
|
|
|
|
/// <summary>
|
|
/// Service for generating health reports from analysis results.
|
|
/// </summary>
|
|
public interface IHealthReportGenerator
|
|
{
|
|
/// <summary>
|
|
/// Generates a comprehensive health report from analysis results.
|
|
/// </summary>
|
|
HistoryHealthReport GenerateReport(HistoryHealthAnalysis analysis);
|
|
|
|
/// <summary>
|
|
/// Exports a report to the specified format.
|
|
/// </summary>
|
|
Task<string> ExportReportAsync(
|
|
HistoryHealthReport report,
|
|
ReportFormat format,
|
|
CancellationToken ct = default);
|
|
|
|
/// <summary>
|
|
/// Exports a report to a file.
|
|
/// </summary>
|
|
Task ExportReportToFileAsync(
|
|
HistoryHealthReport report,
|
|
ReportFormat format,
|
|
string outputPath,
|
|
CancellationToken ct = default);
|
|
}
|