@Extension @Restricted(value=org.kohsuke.accmod.restrictions.NoExternalUse.class) public class UpdateSiteWarningsMonitor extends AdministrativeMonitor
Terminology overview:
The following sets may be non-empty:
The following sets must necessarily be empty:
ExtensionPoint.LegacyInstancesAreScopedToHudson
id
Constructor and Description |
---|
UpdateSiteWarningsMonitor() |
Modifier and Type | Method and Description |
---|---|
org.kohsuke.stapler.HttpResponse |
doForward(String fix,
String configure)
Redirects the user to the plugin manager or security configuration
|
List<UpdateSite.Warning> |
getActiveCoreWarnings() |
Map<PluginWrapper,List<UpdateSite.Warning>> |
getActivePluginWarningsByPlugin() |
String |
getDisplayName() |
boolean |
hasApplicableHiddenWarnings()
Returns true iff there are applicable but ignored (i.e.
|
boolean |
isActivated()
Returns true if this monitor is activated and
wants to produce a warning message.
|
all, disable, doDisable, getSearchUrl, getTarget, getUrl, isEnabled
getSearch, getSearchIndex, getSearchName, makeSearchIndex, requirePOST, sendError, sendError, sendError, sendError, sendError
public boolean isActivated()
AdministrativeMonitor
This method is called from the HTML rendering thread, so it should run efficiently.
isActivated
in class AdministrativeMonitor
public List<UpdateSite.Warning> getActiveCoreWarnings()
public Map<PluginWrapper,List<UpdateSite.Warning>> getActivePluginWarningsByPlugin()
public org.kohsuke.stapler.HttpResponse doForward(@QueryParameter String fix, @QueryParameter String configure)
public boolean hasApplicableHiddenWarnings()
public String getDisplayName()
getDisplayName
in interface ModelObject
getDisplayName
in class AdministrativeMonitor
Copyright © 2004–2017. All rights reserved.