@Extension public class TooManyJobsButNoView extends AdministrativeMonitor
I noticed at an user visit that some users didn't notice the '+' icon in the tab bar.
ExtensionPoint.LegacyInstancesAreScopedToHudson| Modifier and Type | Field and Description |
|---|---|
static int |
THRESHOLD |
id| Constructor and Description |
|---|
TooManyJobsButNoView() |
| Modifier and Type | Method and Description |
|---|---|
void |
doAct(org.kohsuke.stapler.StaplerRequest req,
org.kohsuke.stapler.StaplerResponse rsp)
Depending on whether the user said "yes" or "no", send him to the right place.
|
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 static final int THRESHOLD
public boolean isActivated()
AdministrativeMonitorThis method is called from the HTML rendering thread, so it should run efficiently.
isActivated in class AdministrativeMonitorpublic void doAct(org.kohsuke.stapler.StaplerRequest req,
org.kohsuke.stapler.StaplerResponse rsp)
throws IOException
IOExceptionCopyright © 2019. All rights reserved.