Klasse TreeMapNodeConverter
java.lang.Object
io.jenkins.plugins.coverage.model.visualization.tree.TreeMapNodeConverter
Converts a tree of
coverage nodes
to a corresponding tree of
ECharts tree map nodes
.- Autor:
- Ullrich Hafner
-
Konstruktorübersicht
-
Methodenübersicht
Modifizierer und TypMethodeBeschreibungedu.hm.hafner.echarts.TreeMapNode
toTeeChartModel
(CoverageNode node, CoverageMetric metric, ColorProvider colorProvider) Converts a coverage tree ofCoverageNode
to a ECharts tree map ofTreeMapNode
.
-
Konstruktordetails
-
TreeMapNodeConverter
public TreeMapNodeConverter()
-
-
Methodendetails
-
toTeeChartModel
public edu.hm.hafner.echarts.TreeMapNode toTeeChartModel(CoverageNode node, CoverageMetric metric, ColorProvider colorProvider) Converts a coverage tree ofCoverageNode
to a ECharts tree map ofTreeMapNode
.- Parameter:
node
- The root node of the tree to be convertedmetric
- 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
-