@Restricted(value=org.kohsuke.accmod.restrictions.NoExternalUse.class) @Extension public class SlowTriggerAdminMonitor extends AdministrativeMonitor
Modifier and Type | Class and Description |
---|---|
class |
SlowTriggerAdminMonitor.Value |
ExtensionPoint.LegacyInstancesAreScopedToHudson
Modifier and Type | Field and Description |
---|---|
static int |
MAX_ENTRIES |
id
Constructor and Description |
---|
SlowTriggerAdminMonitor() |
Modifier and Type | Method and Description |
---|---|
void |
clear() |
org.kohsuke.stapler.HttpResponse |
doClear() |
String |
getDisplayName() |
Map<String,SlowTriggerAdminMonitor.Value> |
getErrors() |
static SlowTriggerAdminMonitor |
getInstance() |
boolean |
isActivated()
Returns true if this monitor is activated and
wants to produce a warning message.
|
void |
report(String trigger,
String msg) |
all, disable, doDisable, getRequiredPermission, getSearchUrl, getTarget, getUrl, isEnabled, isSecurity
getSearch, getSearchIndex, getSearchName, makeSearchIndex, requirePOST, sendError, sendError, sendError, sendError, sendError
@NonNull public static SlowTriggerAdminMonitor getInstance()
public boolean isActivated()
AdministrativeMonitor
This method is called from the HTML rendering thread, so it should run efficiently.
isActivated
in class AdministrativeMonitor
@NonNull public String getDisplayName()
getDisplayName
in interface ModelObject
getDisplayName
in class AdministrativeMonitor
public void clear()
@NonNull public Map<String,SlowTriggerAdminMonitor.Value> getErrors()
@Restricted(value=org.kohsuke.accmod.restrictions.DoNotUse.class) @NonNull public org.kohsuke.stapler.HttpResponse doClear() throws IOException
IOException
Copyright © 2004–2021. All rights reserved.