@Extension public class MasterKillSwitchWarning extends AdministrativeMonitor
AdminWhitelistRule.masterKillSwitch
is on, warn the user.ExtensionPoint.LegacyInstancesAreScopedToHudson
id
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, 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 org.kohsuke.stapler.HttpResponse doAct(@QueryParameter String dismiss) throws IOException
IOException
Copyright © 2015. All rights reserved.