public class MetricsTableModel
extends io.jenkins.plugins.datatables.TableModel
TableModel
for all metrics in a project overview.Modifier and Type | Class and Description |
---|---|
static class |
MetricsTableModel.MetricsRow
A row in the table in the metrics overview.
|
Constructor and Description |
---|
MetricsTableModel(String id,
List<MetricDefinition> supportedMetrics,
List<ClassMetricsMeasurement> metricsMeasurements)
Create a new
MetricsTableModel . |
Modifier and Type | Method and Description |
---|---|
List<io.jenkins.plugins.datatables.TableColumn> |
getColumns() |
String |
getId() |
List<Object> |
getRows() |
io.jenkins.plugins.datatables.TableConfiguration |
getTableConfiguration() |
public MetricsTableModel(String id, List<MetricDefinition> supportedMetrics, List<ClassMetricsMeasurement> metricsMeasurements)
MetricsTableModel
.id
- the id of the tablesupportedMetrics
- the metrics supported for this tablemetricsMeasurements
- the ClassMetricsMeasurement
s to display in the tablepublic String getId()
getId
in class io.jenkins.plugins.datatables.TableModel
public List<io.jenkins.plugins.datatables.TableColumn> getColumns()
getColumns
in class io.jenkins.plugins.datatables.TableModel
public List<Object> getRows()
getRows
in class io.jenkins.plugins.datatables.TableModel
public io.jenkins.plugins.datatables.TableConfiguration getTableConfiguration()
getTableConfiguration
in class io.jenkins.plugins.datatables.TableModel
Copyright © 2016–2020. All rights reserved.