public class BenchmarkConfigAction extends Object implements hudson.model.ProminentProjectAction
| Constructor and Description |
|---|
BenchmarkConfigAction(BenchmarkConfiguration config,
hudson.model.AbstractProject<?,?> project) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
createMetric(String metric) |
boolean |
deleteMetric(String metric) |
Set<Map.Entry<String,ConfigEntry>> |
getConfiguration() |
String |
getDisplayName() |
String |
getIconFileName() |
String |
getUrlName() |
void |
setMetricMaxPercent(String metric,
Double maxPercent) |
void |
setMetricMaxValue(String metric,
Double maxValue) |
void |
setMetricMinPercent(String metric,
Double minPercent) |
void |
setMetricMinValue(String metric,
Double minValue) |
void |
setMetricUnit(String metric,
String unit) |
public BenchmarkConfigAction(BenchmarkConfiguration config, hudson.model.AbstractProject<?,?> project)
public Set<Map.Entry<String,ConfigEntry>> getConfiguration()
@JavaScriptMethod public void setMetricMinPercent(String metric, Double minPercent)
@JavaScriptMethod public void setMetricMaxPercent(String metric, Double maxPercent)
@JavaScriptMethod public boolean createMetric(String metric)
@JavaScriptMethod public boolean deleteMetric(String metric)
public String getIconFileName()
getIconFileName in interface hudson.model.Actionpublic String getDisplayName()
getDisplayName in interface hudson.model.ActiongetDisplayName in interface hudson.model.ModelObjectpublic String getUrlName()
getUrlName in interface hudson.model.ActionCopyright © 2016–2019. All rights reserved.