Class ToolsTrendChart

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

public class ToolsTrendChart extends Object implements TrendChart
Builds the line model for a trend chart showing the total number of issues per tool for a given number of builds.
Author:
Ullrich Hafner
  • Constructor Details

    • ToolsTrendChart

      public ToolsTrendChart()
      Creates a chart without tool name mappings. Tool IDs will be displayed directly.
    • ToolsTrendChart

      public ToolsTrendChart(Map<String,String> toolNames)
      Creates a chart with tool name mappings.
      Parameters:
      toolNames - a map from tool IDs to human-readable names
  • 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