hudson.diagnosis
Class HudsonHomeDiskUsageMonitor
java.lang.Object
hudson.model.AbstractModelObject
hudson.model.AdministrativeMonitor
hudson.diagnosis.HudsonHomeDiskUsageMonitor
- All Implemented Interfaces:
- ExtensionPoint, ModelObject, SearchableModelObject, SearchItem
@Extension
public final class HudsonHomeDiskUsageMonitor
- extends AdministrativeMonitor
Monitors the disk usage of JENKINS_HOME, and if it's almost filled up, warn the user.
- Author:
- Kohsuke Kawaguchi
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HudsonHomeDiskUsageMonitor
public HudsonHomeDiskUsageMonitor()
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 class AdministrativeMonitor
doAct
public org.kohsuke.stapler.HttpResponse doAct(@QueryParameter
String no)
throws IOException
- Depending on whether the user said "yes" or "no", send him to the right place.
- Throws:
IOException
getSolutions
public List<HudsonHomeDiskUsageMonitor.Solution> getSolutions()
getSolution
public HudsonHomeDiskUsageMonitor.Solution getSolution(String id)
- Binds a solution to the URL.
get
public static HudsonHomeDiskUsageMonitor get()
- Short cut for getting the singleton instance.
Copyright © 2004-2013. All Rights Reserved.