Class PrometheusAction
java.lang.Object
org.jenkinsci.plugins.prometheus.rest.PrometheusAction
- All Implemented Interfaces:
hudson.ExtensionPoint
,hudson.model.Action
,hudson.model.ModelObject
,hudson.model.RootAction
,hudson.model.UnprotectedRootAction
@Extension public class PrometheusAction extends Object implements hudson.model.UnprotectedRootAction
-
Nested Class Summary
-
Constructor Summary
Constructors Constructor Description PrometheusAction()
-
Method Summary
Modifier and Type Method Description org.kohsuke.stapler.HttpResponse
doDynamic(org.kohsuke.stapler.StaplerRequest request)
String
getDisplayName()
String
getIconFileName()
String
getUrlName()
void
setPrometheusMetrics(PrometheusMetrics prometheusMetrics)
-
Constructor Details
-
PrometheusAction
public PrometheusAction()
-
-
Method Details
-
setPrometheusMetrics
-
getIconFileName
- Specified by:
getIconFileName
in interfacehudson.model.Action
-
getDisplayName
- Specified by:
getDisplayName
in interfacehudson.model.Action
- Specified by:
getDisplayName
in interfacehudson.model.ModelObject
-
getUrlName
- Specified by:
getUrlName
in interfacehudson.model.Action
-
doDynamic
public org.kohsuke.stapler.HttpResponse doDynamic(org.kohsuke.stapler.StaplerRequest request)
-