Package hudson.triggers
Class SlowTriggerAdminMonitor
java.lang.Object
hudson.model.AbstractModelObject
hudson.model.AdministrativeMonitor
hudson.triggers.SlowTriggerAdminMonitor
- All Implemented Interfaces:
ExtensionPoint
,ModelObject
,SearchableModelObject
,SearchItem
,org.kohsuke.stapler.StaplerProxy
@Restricted(org.kohsuke.accmod.restrictions.NoExternalUse.class)
@Extension
public class SlowTriggerAdminMonitor
extends AdministrativeMonitor
-
Nested Class Summary
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
Field Summary
Fields inherited from class hudson.model.AdministrativeMonitor
id
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
clear()
org.kohsuke.stapler.HttpResponse
doClear()
static SlowTriggerAdminMonitor
boolean
Returns true if this monitor is activated and wants to produce a warning message.void
report
(Class<? extends TriggerDescriptor> trigger, String fullJobName, long duration) Methods inherited from class hudson.model.AdministrativeMonitor
all, checkRequiredPermission, disable, doDisable, getRequiredPermission, getSearchUrl, getTarget, getUrl, hasPermissionToDisplay, hasRequiredPermission, isEnabled, isSecurity
Methods inherited from class hudson.model.AbstractModelObject
getSearch, getSearchIndex, getSearchName, makeSearchIndex, requirePOST, sendError, sendError, sendError, sendError, sendError, sendError, sendError, sendError
-
Field Details
-
MAX_ENTRIES
public static int MAX_ENTRIES
-
-
Constructor Details
-
SlowTriggerAdminMonitor
public SlowTriggerAdminMonitor()
-
-
Method Details
-
getInstance
-
isActivated
public boolean isActivated()Description copied from class:AdministrativeMonitor
Returns true if this monitor is activated and wants to produce a warning message.This method is called from the HTML rendering thread, so it should run efficiently.
- Specified by:
isActivated
in classAdministrativeMonitor
-
getDisplayName
- Specified by:
getDisplayName
in interfaceModelObject
- Overrides:
getDisplayName
in classAdministrativeMonitor
-
clear
public void clear() -
report
public void report(@NonNull Class<? extends TriggerDescriptor> trigger, @NonNull String fullJobName, long duration) -
getErrors
-
doClear
@Restricted(org.kohsuke.accmod.restrictions.DoNotUse.class) @NonNull public org.kohsuke.stapler.HttpResponse doClear()
-