public class MetricsJobAction extends Object implements hudson.model.Action
| Modifier and Type | Class and Description |
|---|---|
static class |
MetricsJobAction.JobActionFactory
This
TransientActionFactory provides the metrics action for a job, i.e. the link in the left side bar. |
| Constructor and Description |
|---|
MetricsJobAction(hudson.model.Job<?,?> owner)
Creates a new instance of
MetricsJobAction. |
| Modifier and Type | Method and Description |
|---|---|
void |
doIndex(org.kohsuke.stapler.StaplerRequest request,
org.kohsuke.stapler.StaplerResponse response)
Redirects the index page to the last result.
|
String |
getDisplayName() |
String |
getIconFileName()
Returns the icon URL for the side-panel in the job screen.
|
String |
getUrlName() |
public MetricsJobAction(hudson.model.Job<?,?> owner)
MetricsJobAction.owner - the job that owns this actionpublic String getDisplayName()
getDisplayName in interface hudson.model.ActiongetDisplayName in interface hudson.model.ModelObjectpublic String getIconFileName()
getIconFileName in interface hudson.model.Actionpublic String getUrlName()
getUrlName in interface hudson.model.Actionpublic void doIndex(org.kohsuke.stapler.StaplerRequest request,
org.kohsuke.stapler.StaplerResponse response)
throws IOException
request - Stapler requestresponse - Stapler responseIOException - in case of an errorCopyright © 2016–2020. All rights reserved.