hudson.node_monitors
Class DiskSpaceMonitor
java.lang.Object
hudson.node_monitors.NodeMonitor
hudson.node_monitors.AbstractDiskSpaceMonitor
hudson.node_monitors.DiskSpaceMonitor
- All Implemented Interfaces:
- ExtensionPoint, Describable<NodeMonitor>
public class DiskSpaceMonitor
- extends AbstractDiskSpaceMonitor
Checks available disk space of the remote FS root.
Requires Mustang.
- Since:
- 1.123
- Author:
- Kohsuke Kawaguchi
Field Summary |
static hudson.node_monitors.DiskSpaceMonitorDescriptor |
DESCRIPTOR
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DESCRIPTOR
public static final hudson.node_monitors.DiskSpaceMonitorDescriptor DESCRIPTOR
DiskSpaceMonitor
@DataBoundConstructor
public DiskSpaceMonitor(String freeSpaceThreshold)
throws ParseException
- Throws:
ParseException
DiskSpaceMonitor
public DiskSpaceMonitor()
getFreeSpace
public DiskSpaceMonitorDescriptor.DiskSpace getFreeSpace(Computer c)
getColumnCaption
public String getColumnCaption()
- Description copied from class:
NodeMonitor
- Returns the name of the column to be added to
ComputerSet
index.jelly.
- Overrides:
getColumnCaption
in class NodeMonitor
- Returns:
- null to not render a column. The convention is to use capitalization like "Foo Bar Zot".
install
@Extension
public static hudson.node_monitors.DiskSpaceMonitorDescriptor install()
Copyright © 2004-2013. All Rights Reserved.