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 MetricsMeasurement
s for this action@Nullable public String getIconFileName()
getIconFileName
in interface hudson.model.Action
@Nullable public String getDisplayName()
getDisplayName
in interface hudson.model.Action
getDisplayName
in interface hudson.model.ModelObject
@Nullable public String getUrlName()
getUrlName
in interface hudson.model.Action
public Collection<? extends hudson.model.Action> getProjectActions()
getProjectActions
in interface jenkins.tasks.SimpleBuildStep.LastBuildAction
public void onAttached(hudson.model.Run<?,?> r)
onAttached
in interface jenkins.model.RunAction2
public void onLoad(hudson.model.Run<?,?> r)
onLoad
in interface jenkins.model.RunAction2
public final List<MetricsMeasurement> getMetricsMeasurements()
Copyright © 2016–2020. All rights reserved.