Class SeverityTrendChart
java.lang.Object
io.jenkins.plugins.analysis.core.charts.SeverityTrendChart
- All Implemented Interfaces:
TrendChart
Builds the model for a trend chart showing all issues by severity for a given number of builds.
- Author:
- Ullrich Hafner
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionedu.hm.hafner.echarts.LinesChartModelaggregate(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.edu.hm.hafner.echarts.LinesChartModelcreate(Iterable<? extends edu.hm.hafner.echarts.BuildResult<AnalysisBuildResult>> results, edu.hm.hafner.echarts.ChartModelConfiguration configuration) Creates the chart for the specified results.
-
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:TrendChartCreates the chart for the specified results.- Specified by:
createin interfaceTrendChart- Parameters:
results- the analysis results to renderconfiguration- 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 renderconfiguration- the chart configuration to be used- Returns:
- the chart model
-