public class MetricsViewAction extends Object implements jenkins.model.RunAction2, org.kohsuke.stapler.StaplerProxy
| Modifier and Type | Class and Description |
|---|---|
static class |
MetricsViewAction.ViewActionFactory
TransientActionFactory providing MetricsViewActions. |
| Modifier and Type | Field and Description |
|---|---|
static String |
ICON
The icon to use with links.
|
static String |
ID
The id for the plugin.
|
static String |
NAME
The name of the plugin.
|
| Constructor and Description |
|---|
MetricsViewAction(hudson.model.Run<?,?> owner)
Create a new
MetricsViewAction. |
| Modifier and Type | Method and Description |
|---|---|
String |
getDisplayName() |
String |
getIconFileName() |
Object |
getTarget()
Returns the detail view for metrics for all Stapler requests.
|
String |
getUrlName() |
void |
onAttached(hudson.model.Run<?,?> r) |
void |
onLoad(hudson.model.Run<?,?> r) |
public static final String ID
public static final String NAME
public static final String ICON
public MetricsViewAction(hudson.model.Run<?,?> owner)
MetricsViewAction.owner - the owning Run@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 void onAttached(hudson.model.Run<?,?> r)
onAttached in interface jenkins.model.RunAction2public void onLoad(hudson.model.Run<?,?> r)
onLoad in interface jenkins.model.RunAction2public Object getTarget()
getTarget in interface org.kohsuke.stapler.StaplerProxyCopyright © 2016–2020. All rights reserved.