hudson.node_monitors
Class TemporarySpaceMonitor

java.lang.Object
  extended by hudson.node_monitors.NodeMonitor
      extended by hudson.node_monitors.AbstractDiskSpaceMonitor
          extended by 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
protected static class TemporarySpaceMonitor.GetTempSpace
           
 
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
 
Field Summary
static hudson.node_monitors.DiskSpaceMonitorDescriptor DESCRIPTOR
           
 
Fields inherited from class hudson.node_monitors.AbstractDiskSpaceMonitor
freeSpaceThreshold
 
Fields inherited from class hudson.node_monitors.NodeMonitor
LIST
 
Constructor Summary
TemporarySpaceMonitor()
           
TemporarySpaceMonitor(String freeSpaceThreshold)
           
 
Method Summary
 String getColumnCaption()
          Returns the name of the column to be added to ComputerSet index.jelly.
 DiskSpaceMonitorDescriptor.DiskSpace getFreeSpace(Computer c)
           
static hudson.node_monitors.DiskSpaceMonitorDescriptor install()
           
 
Methods inherited from class hudson.node_monitors.AbstractDiskSpaceMonitor
data, getThresholdBytes
 
Methods inherited from class hudson.node_monitors.NodeMonitor
all, getAll, getDescriptor, isIgnored, setIgnored, triggerUpdate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DESCRIPTOR

public static final hudson.node_monitors.DiskSpaceMonitorDescriptor DESCRIPTOR
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 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.