Klasse TreeMapNodeConverter

java.lang.Object
io.jenkins.plugins.coverage.model.visualization.tree.TreeMapNodeConverter

public class TreeMapNodeConverter extends Object
Converts a tree of coverage nodes to a corresponding tree of ECharts tree map nodes.
Autor:
Ullrich Hafner
  • Konstruktordetails

    • TreeMapNodeConverter

      public TreeMapNodeConverter()
  • Methodendetails

    • toTeeChartModel

      public edu.hm.hafner.echarts.TreeMapNode toTeeChartModel(CoverageNode node, CoverageMetric metric, ColorProvider colorProvider)
      Converts a coverage tree of CoverageNode to a ECharts tree map of TreeMapNode.
      Parameter:
      node - The root node of the tree to be converted
      metric - The coverage metric that should be represented (line and branch coverage are available)
      colorProvider - Provides the colors to be used for highlighting the tree nodes
      Gibt zurück:
      the converted tree map representation