Package hudson
Class PluginManager.PluginDeprecationMonitor
- java.lang.Object
-
- hudson.model.AbstractModelObject
-
- hudson.model.AdministrativeMonitor
-
- hudson.PluginManager.PluginDeprecationMonitor
-
- All Implemented Interfaces:
ExtensionPoint,ModelObject,SearchableModelObject,SearchItem,org.kohsuke.stapler.StaplerProxy
- Enclosing class:
- PluginManager
@Restricted(org.kohsuke.accmod.restrictions.NoExternalUse.class) @Symbol("pluginDeprecation") @Extension public static final class PluginManager.PluginDeprecationMonitor extends AdministrativeMonitorAdministrativeMonitorthat checks if there are any plugins that are deprecated.- Since:
- 2.246
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
-
Field Summary
-
Fields inherited from class hudson.model.AdministrativeMonitor
id
-
-
Constructor Summary
Constructors Constructor Description PluginDeprecationMonitor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<PluginWrapper,String>getDeprecatedPlugins()StringgetDisplayName()booleanisActivated()Returns true if this monitor is activated and wants to produce a warning message.-
Methods inherited from class hudson.model.AdministrativeMonitor
all, disable, doDisable, getRequiredPermission, getSearchUrl, getTarget, getUrl, isEnabled, isSecurity
-
Methods inherited from class hudson.model.AbstractModelObject
getSearch, getSearchIndex, getSearchName, makeSearchIndex, requirePOST, sendError, sendError, sendError, sendError, sendError
-
-
-
-
Method Detail
-
getDisplayName
public String getDisplayName()
- Specified by:
getDisplayNamein interfaceModelObject- Overrides:
getDisplayNamein classAdministrativeMonitor
-
isActivated
public boolean isActivated()
Description copied from class:AdministrativeMonitorReturns true if this monitor is activated and wants to produce a warning message.This method is called from the HTML rendering thread, so it should run efficiently.
- Specified by:
isActivatedin classAdministrativeMonitor
-
getDeprecatedPlugins
public Map<PluginWrapper,String> getDeprecatedPlugins()
-
-