@Extension @Symbol(value="diskUsageCheck") public final class HudsonHomeDiskUsageMonitor extends AdministrativeMonitor
JENKINS_HOME
, and if it's almost filled up, warn the user.Modifier and Type | Class and Description |
---|---|
static class |
HudsonHomeDiskUsageMonitor.Solution
Extension point for suggesting solutions for full JENKINS_HOME.
|
ExtensionPoint.LegacyInstancesAreScopedToHudson
id
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, getRequiredPermission, getSearchUrl, getTarget, getUrl, isEnabled, isSecurity
getSearch, getSearchIndex, getSearchName, makeSearchIndex, requirePOST, sendError, sendError, sendError, sendError, sendError
public boolean isActivated()
AdministrativeMonitor
This method is called from the HTML rendering thread, so it should run efficiently.
isActivated
in class AdministrativeMonitor
public String getDisplayName()
getDisplayName
in interface ModelObject
getDisplayName
in class AdministrativeMonitor
public org.kohsuke.stapler.HttpResponse doAct(@QueryParameter String no) throws IOException
IOException
public List<HudsonHomeDiskUsageMonitor.Solution> getSolutions()
public HudsonHomeDiskUsageMonitor.Solution getSolution(String id)
public static HudsonHomeDiskUsageMonitor get()
Copyright © 2004–2021. All rights reserved.