public class ProjectMetricsColumn
extends hudson.views.ListViewColumn
| Modifier and Type | Class and Description |
|---|---|
static class |
ProjectMetricsColumn.MetricsTableColumnDescriptor
Extension point registration.
|
| Constructor and Description |
|---|
ProjectMetricsColumn()
Create a new
ProjectMetricsColumn. |
| Modifier and Type | Method and Description |
|---|---|
String |
getMetricId() |
Optional<String> |
getMetricValue(hudson.model.Job<?,?> job)
Returns the total number of issues for the selected static analysis tool in a given job.
|
String |
getName() |
String |
getUrl(hudson.model.Job<?,?> job)
Returns the URL to the metrics view of a run.
|
void |
setMetricId(String metricId)
Defines which metric should be shown in the column.
|
void |
setName(String name)
Sets the display name of the column.
|
@DataBoundConstructor public ProjectMetricsColumn()
ProjectMetricsColumn.public String getName()
@DataBoundSetter public void setName(String name)
name - the name of the columnpublic String getMetricId()
@DataBoundSetter public void setMetricId(String metricId)
metricId - the metric id to showpublic Optional<String> getMetricValue(hudson.model.Job<?,?> job)
job - the job to selectpublic String getUrl(hudson.model.Job<?,?> job)
job - the job to selectCopyright © 2016–2020. All rights reserved.