public class MetricsAction extends Object implements jenkins.model.RunAction2, jenkins.tasks.SimpleBuildStep.LastBuildAction
| Constructor and Description |
|---|
MetricsAction(List<MetricsMeasurement> metricsMeasurements)
Create a new
MetricsAction. |
| Modifier and Type | Method and Description |
|---|---|
String |
getDisplayName() |
String |
getIconFileName() |
List<MetricsMeasurement> |
getMetricsMeasurements() |
Collection<? extends hudson.model.Action> |
getProjectActions() |
String |
getUrlName() |
void |
onAttached(hudson.model.Run<?,?> r) |
void |
onLoad(hudson.model.Run<?,?> r) |
public MetricsAction(List<MetricsMeasurement> metricsMeasurements)
MetricsAction.metricsMeasurements - the MetricsMeasurements for this action@Nullable public String getIconFileName()
getIconFileName in interface hudson.model.Action@Nullable public String getDisplayName()
getDisplayName in interface hudson.model.ActiongetDisplayName in interface hudson.model.ModelObject@Nullable public String getUrlName()
getUrlName in interface hudson.model.Actionpublic Collection<? extends hudson.model.Action> getProjectActions()
getProjectActions in interface jenkins.tasks.SimpleBuildStep.LastBuildActionpublic void onAttached(hudson.model.Run<?,?> r)
onAttached in interface jenkins.model.RunAction2public void onLoad(hudson.model.Run<?,?> r)
onLoad in interface jenkins.model.RunAction2public final List<MetricsMeasurement> getMetricsMeasurements()
Copyright © 2016–2020. All rights reserved.