@Extension public class Root extends Object implements RootAction, ModelObjectWithContextMenu
ExtensionPoint.LegacyInstancesAreScopedToHudson
ModelObjectWithContextMenu.ContextMenu, ModelObjectWithContextMenu.ContextMenuVisibility, ModelObjectWithContextMenu.MenuItem
Constructor and Description |
---|
Root() |
Modifier and Type | Method and Description |
---|---|
ModelObjectWithContextMenu.ContextMenu |
doContextMenu(org.kohsuke.stapler.StaplerRequest request,
org.kohsuke.stapler.StaplerResponse response)
Get the context menu.
|
List<PerformanceBenchmarking> |
getAll()
Get all samples.
|
List<PerformanceBenchmarking> |
getAllGroovy()
Get all Groovy samples.
|
List<PerformanceBenchmarking> |
getAllOther()
Get all non-Groovy samples.
|
String |
getDisplayName()
Get the display name.
|
PerformanceBenchmarking |
getDynamic(String name)
Return the sample matching the URL name.
|
String |
getIconFileName()
Get the icon file name.
|
String |
getUrlName()
Get the URL name.
|
public String getIconFileName()
getIconFileName
in interface Action
public String getDisplayName()
getDisplayName
in interface Action
getDisplayName
in interface ModelObject
public String getUrlName()
getUrlName
in interface Action
public PerformanceBenchmarking getDynamic(String name)
name
- the name to matchpublic List<PerformanceBenchmarking> getAll()
public List<PerformanceBenchmarking> getAllGroovy()
public List<PerformanceBenchmarking> getAllOther()
public ModelObjectWithContextMenu.ContextMenu doContextMenu(org.kohsuke.stapler.StaplerRequest request, org.kohsuke.stapler.StaplerResponse response)
doContextMenu
in interface ModelObjectWithContextMenu
request
- - the HTTP requestresponse
- - the HTTP responseCopyright © 2016–2022. All rights reserved.