Package hudson
Class PluginWrapper.PluginWrapperAdministrativeMonitor
- java.lang.Object
-
- hudson.model.AbstractModelObject
-
- hudson.model.AdministrativeMonitor
-
- hudson.PluginWrapper.PluginWrapperAdministrativeMonitor
-
- All Implemented Interfaces:
ExtensionPoint,ModelObject,SearchableModelObject,SearchItem,org.kohsuke.stapler.StaplerProxy
- Enclosing class:
- PluginWrapper
public static final class PluginWrapper.PluginWrapperAdministrativeMonitor extends AdministrativeMonitor
Administrative Monitor for failed plugins
-
-
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 PluginWrapperAdministrativeMonitor()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddoAct(org.kohsuke.stapler.StaplerRequest req, org.kohsuke.stapler.StaplerResponse rsp)Depending on whether the user said "dismiss" or "correct", send him to the right place.static PluginWrapper.PluginWrapperAdministrativeMonitorget()StringgetDisplayName()PluginWrappergetPlugin(String shortName)Collection<PluginWrapper>getPlugins()booleanhasAnyDerivedDependencyErrors()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
-
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
-
hasAnyDerivedDependencyErrors
@Restricted(org.kohsuke.accmod.restrictions.DoNotUse.class) public boolean hasAnyDerivedDependencyErrors()
-
getDisplayName
public String getDisplayName()
- Specified by:
getDisplayNamein interfaceModelObject- Overrides:
getDisplayNamein classAdministrativeMonitor
-
getPlugins
public Collection<PluginWrapper> getPlugins()
-
getPlugin
public PluginWrapper getPlugin(String shortName)
-
doAct
public void doAct(org.kohsuke.stapler.StaplerRequest req, org.kohsuke.stapler.StaplerResponse rsp) throws IOExceptionDepending on whether the user said "dismiss" or "correct", send him to the right place.- Throws:
IOException
-
get
public static PluginWrapper.PluginWrapperAdministrativeMonitor get()
-
-