@Extension public class Root extends Object implements RootAction, ModelObjectWithContextMenu
ExtensionPoint.LegacyInstancesAreScopedToHudsonModelObjectWithContextMenu.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 Actionpublic String getDisplayName()
getDisplayName in interface ActiongetDisplayName in interface ModelObjectpublic String getUrlName()
getUrlName in interface Actionpublic 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 ModelObjectWithContextMenurequest - - the HTTP requestresponse - - the HTTP responseCopyright © 2016–2022. All rights reserved.