Package io.jenkins.plugins.monitoring
Class DemoPortlet.ExampleMonitorFactory
- java.lang.Object
-
- io.jenkins.plugins.monitoring.MonitorPortletFactory
-
- io.jenkins.plugins.monitoring.DemoPortlet.ExampleMonitorFactory
-
- All Implemented Interfaces:
ExtensionPoint
- Enclosing class:
- DemoPortlet
@Extension public static class DemoPortlet.ExampleMonitorFactory extends MonitorPortletFactory
An example ofMonitorPortletFactory.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
-
Constructor Summary
Constructors Constructor Description ExampleMonitorFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetDisplayName()Defines the name of the factory.Collection<MonitorPortlet>getPortlets(Run<?,?> build)Get a collection ofMonitorPortletto display.
-
-
-
Method Detail
-
getPortlets
public Collection<MonitorPortlet> getPortlets(Run<?,?> build)
Description copied from class:MonitorPortletFactoryGet a collection ofMonitorPortletto display.- Specified by:
getPortletsin classMonitorPortletFactory- Parameters:
build- the referenceRun.- Returns:
- a collection of
MonitorPortlet.
-
getDisplayName
public String getDisplayName()
Description copied from class:MonitorPortletFactoryDefines the name of the factory.- Specified by:
getDisplayNamein classMonitorPortletFactory- Returns:
- the name to display for the factory.
-
-