hudson.node_monitors
Class SwapSpaceMonitor
java.lang.Object
hudson.node_monitors.NodeMonitor
hudson.node_monitors.SwapSpaceMonitor
- All Implemented Interfaces:
- ExtensionPoint, Describable<NodeMonitor>
public class SwapSpaceMonitor
- extends NodeMonitor
Checks the swap space availability.
- Author:
- Kohsuke Kawaguchi
Method Summary |
String |
getColumnCaption()
Returns the name of the column to be added to ComputerSet index.jelly. |
String |
toHtml(org.jvnet.hudson.MemoryUsage usage)
Returns the HTML representation of the space. |
long |
toMB(org.jvnet.hudson.MemoryUsage usage)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DESCRIPTOR
@Extension
public static final AbstractNodeMonitorDescriptor<org.jvnet.hudson.MemoryUsage> DESCRIPTOR
SwapSpaceMonitor
public SwapSpaceMonitor()
toHtml
public String toHtml(org.jvnet.hudson.MemoryUsage usage)
- Returns the HTML representation of the space.
toMB
public long toMB(org.jvnet.hudson.MemoryUsage usage)
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".
Copyright © 2004-2013. All Rights Reserved.