Package hudson.node_monitors
Class TemporarySpaceMonitor
- java.lang.Object
-
- hudson.node_monitors.NodeMonitor
-
- hudson.node_monitors.AbstractDiskSpaceMonitor
-
- hudson.node_monitors.TemporarySpaceMonitor
-
- All Implemented Interfaces:
ExtensionPoint
,Describable<NodeMonitor>
public class TemporarySpaceMonitor extends AbstractDiskSpaceMonitor
Monitors the disk space of "/tmp".- Author:
- Kohsuke Kawaguchi
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
TemporarySpaceMonitor.DescriptorImpl
protected static class
TemporarySpaceMonitor.GetTempSpace
-
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
-
Field Summary
Fields Modifier and Type Field Description static DiskSpaceMonitorDescriptor
DESCRIPTOR
Deprecated.as of 2.0 Use injection-
Fields inherited from class hudson.node_monitors.AbstractDiskSpaceMonitor
freeSpaceThreshold
-
Fields inherited from class hudson.node_monitors.NodeMonitor
LIST
-
-
Constructor Summary
Constructors Constructor Description TemporarySpaceMonitor()
TemporarySpaceMonitor(String freeSpaceThreshold)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description String
getColumnCaption()
Returns the name of the column to be added toComputerSet
index.jelly.DiskSpaceMonitorDescriptor.DiskSpace
getFreeSpace(Computer c)
static DiskSpaceMonitorDescriptor
install()
Deprecated.as of 2.0-
Methods inherited from class hudson.node_monitors.AbstractDiskSpaceMonitor
data, getThresholdBytes, markNodeOfflineIfDiskspaceIsTooLow
-
Methods inherited from class hudson.node_monitors.NodeMonitor
all, getAll, getDescriptor, isIgnored, setIgnored, triggerUpdate
-
-
-
-
Field Detail
-
DESCRIPTOR
@Deprecated @Restricted(org.kohsuke.accmod.restrictions.NoExternalUse.class) public static DiskSpaceMonitorDescriptor DESCRIPTOR
Deprecated.as of 2.0 Use injection
-
-
Constructor Detail
-
TemporarySpaceMonitor
@DataBoundConstructor public TemporarySpaceMonitor(String freeSpaceThreshold) throws ParseException
- Throws:
ParseException
-
TemporarySpaceMonitor
public TemporarySpaceMonitor()
-
-
Method Detail
-
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 toComputerSet
index.jelly.- Overrides:
getColumnCaption
in classNodeMonitor
- Returns:
- null to not render a column. The convention is to use capitalization like "Foo Bar Zot".
-
install
@Deprecated public static DiskSpaceMonitorDescriptor install()
Deprecated.as of 2.0
-
-