@Extension public class MasterKillSwitchWarning extends AdministrativeMonitor
AdminWhitelistRule.masterKillSwitch is on, warn the user.ExtensionPoint.LegacyInstancesAreScopedToHudsonid| Constructor and Description |
|---|
MasterKillSwitchWarning() |
| Modifier and Type | Method and Description |
|---|---|
org.kohsuke.stapler.HttpResponse |
doAct(String dismiss) |
boolean |
isActivated()
Returns true if this monitor is activated and
wants to produce a warning message.
|
all, disable, doDisable, getDisplayName, getSearchUrl, getUrl, isEnabledgetSearch, getSearchIndex, getSearchName, makeSearchIndex, requirePOST, sendError, sendError, sendError, sendError, sendErrorpublic boolean isActivated()
AdministrativeMonitorThis method is called from the HTML rendering thread, so it should run efficiently.
isActivated in class AdministrativeMonitorpublic org.kohsuke.stapler.HttpResponse doAct(@QueryParameter
String dismiss)
throws IOException
IOExceptionCopyright © 2019. All rights reserved.