@Extension public final class HudsonHomeDiskUsageMonitor extends AdministrativeMonitor
| Modifier and Type | Class and Description |
|---|---|
static class |
HudsonHomeDiskUsageMonitor.Solution
Extension point for suggesting solutions for full JENKINS_HOME.
|
ExtensionPoint.LegacyInstancesAreScopedToHudsonid| Constructor and Description |
|---|
HudsonHomeDiskUsageMonitor() |
| Modifier and Type | Method and Description |
|---|---|
org.kohsuke.stapler.HttpResponse |
doAct(String no)
Depending on whether the user said "yes" or "no", send him to the right place.
|
static HudsonHomeDiskUsageMonitor |
get()
Short cut for getting the singleton instance.
|
String |
getDisplayName() |
HudsonHomeDiskUsageMonitor.Solution |
getSolution(String id)
Binds a solution to the URL.
|
List<HudsonHomeDiskUsageMonitor.Solution> |
getSolutions() |
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 org.kohsuke.stapler.HttpResponse doAct(@QueryParameter
String no)
throws IOException
IOExceptionpublic List<HudsonHomeDiskUsageMonitor.Solution> getSolutions()
public HudsonHomeDiskUsageMonitor.Solution getSolution(String id)
public static HudsonHomeDiskUsageMonitor get()
Copyright © 2019. All rights reserved.