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
An example of
MonitorPortletFactory.-
Nested Class Summary
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionDefines the name of the factory.getPortlets(Run<?, ?> build) Get a collection ofMonitorPortletto display.
-
Constructor Details
-
ExampleMonitorFactory
public ExampleMonitorFactory()
-
-
Method Details
-
getPortlets
Description copied from class:MonitorPortletFactoryGet a collection ofMonitorPortletto display.- Specified by:
getPortletsin classMonitorPortletFactory- Parameters:
build- the referenceRun.- Returns:
- a collection of
MonitorPortlet.
-
getDisplayName
Description copied from class:MonitorPortletFactoryDefines the name of the factory.- Specified by:
getDisplayNamein classMonitorPortletFactory- Returns:
- the name to display for the factory.
-