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
-
Method Summary
Modifier and TypeMethodDescriptionvoid
doAct
(org.kohsuke.stapler.StaplerRequest2 req, org.kohsuke.stapler.StaplerResponse2 rsp) Depending on whether the user said "dismiss" or "correct", send him to the right place.get()
boolean
boolean
Returns true if this monitor is activated and wants to produce a warning message.Methods inherited from class hudson.model.AdministrativeMonitor
all, checkRequiredPermission, disable, doDisable, getRequiredPermission, getSearchUrl, getTarget, getUrl, hasPermissionToDisplay, hasRequiredPermission, isEnabled, isSecurity
Methods inherited from class hudson.model.AbstractModelObject
getSearch, getSearchIndex, getSearchName, makeSearchIndex, requirePOST, sendError, sendError, sendError, sendError, sendError, sendError, sendError, sendError
-
Constructor Details
-
PluginWrapperAdministrativeMonitor
public PluginWrapperAdministrativeMonitor()
-
-
Method Details
-
isActivated
public boolean isActivated()Description copied from class:AdministrativeMonitor
Returns 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:
isActivated
in classAdministrativeMonitor
-
hasAnyDerivedDependencyErrors
@Restricted(org.kohsuke.accmod.restrictions.DoNotUse.class) public boolean hasAnyDerivedDependencyErrors() -
getDisplayName
- Specified by:
getDisplayName
in interfaceModelObject
- Overrides:
getDisplayName
in classAdministrativeMonitor
-
getPlugins
-
getPlugin
-
doAct
public void doAct(org.kohsuke.stapler.StaplerRequest2 req, org.kohsuke.stapler.StaplerResponse2 rsp) throws IOException Depending on whether the user said "dismiss" or "correct", send him to the right place.- Throws:
IOException
-
get
-