@Extension public class AdminCallableMonitor extends AdministrativeMonitor
Callables and FilePath executions and allow
admins to whitelist them.ExtensionPoint.LegacyInstancesAreScopedToHudsonid| Constructor and Description |
|---|
AdminCallableMonitor() |
| Modifier and Type | Method and Description |
|---|---|
org.kohsuke.stapler.HttpResponse |
doAct(String dismiss)
Depending on whether the user said "examin" or "dismiss", send him to the right place.
|
org.kohsuke.stapler.HttpResponse |
doIndex() |
String |
getDisplayName() |
AdminWhitelistRule |
getRule() |
boolean |
isActivated()
Returns true if this monitor is activated and
wants to produce a warning message.
|
all, disable, doDisable, 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 String getDisplayName()
getDisplayName in interface ModelObjectgetDisplayName in class AdministrativeMonitorpublic AdminWhitelistRule getRule()
public org.kohsuke.stapler.HttpResponse doAct(@QueryParameter
String dismiss)
throws IOException
IOExceptionpublic org.kohsuke.stapler.HttpResponse doIndex()
Copyright © 2019. All rights reserved.