Class SeverityTrendChart

java.lang.Object
io.jenkins.plugins.analysis.core.charts.SeverityTrendChart
All Implemented Interfaces:
TrendChart

public class SeverityTrendChart extends Object implements TrendChart
Builds the model for a trend chart showing all issues by severity for a given number of builds.
Author:
Ullrich Hafner
  • Constructor Details

    • SeverityTrendChart

      public SeverityTrendChart()
  • Method Details

    • create

      public edu.hm.hafner.echarts.LinesChartModel create(Iterable<? extends edu.hm.hafner.echarts.BuildResult<AnalysisBuildResult>> results, edu.hm.hafner.echarts.ChartModelConfiguration configuration)
      Description copied from interface: TrendChart
      Creates the chart for the specified results.
      Specified by:
      create in interface TrendChart
      Parameters:
      results - the analysis results to render
      configuration - the chart configuration to be used
      Returns:
      the chart model
    • aggregate

      public edu.hm.hafner.echarts.LinesChartModel aggregate(List<Iterable<? extends edu.hm.hafner.echarts.BuildResult<AnalysisBuildResult>>> results, edu.hm.hafner.echarts.ChartModelConfiguration configuration)
      Creates the chart for the specified list of results.
      Parameters:
      results - the analysis results to render
      configuration - the chart configuration to be used
      Returns:
      the chart model