hudson.plugins.disk_usage
Class DiskUsagePlugin
java.lang.Object
hudson.Plugin
hudson.plugins.disk_usage.DiskUsagePlugin
- All Implemented Interfaces:
- hudson.model.Saveable
public class DiskUsagePlugin
- extends hudson.Plugin
Entry point of the the plugin.
- Author:
- dvrzalik
| Nested classes/interfaces inherited from class hudson.Plugin |
hudson.Plugin.DummyImpl |
| Fields inherited from interface hudson.model.Saveable |
NOOP |
| Methods inherited from class hudson.Plugin |
configure, configure, doDynamic, getConfigXml, load, postInitialize, save, setServletContext, start, stop |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DiskUsagePlugin
public DiskUsagePlugin()
getDiskUsage
public static DiskUsage getDiskUsage(hudson.model.Job project)
- Returns:
- DiskUsage for given project (shortcut for the view). Never null.
getProjectUrl
public static java.lang.String getProjectUrl(hudson.model.Job project)
getProjectList
public static java.util.List getProjectList()
- Returns:
- Project list sorted by occupied disk space
getDiskUsageSum
public static DiskUsage getDiskUsageSum()
doRecordDiskUsage
public void doRecordDiskUsage(org.kohsuke.stapler.StaplerRequest req,
org.kohsuke.stapler.StaplerResponse res)
throws javax.servlet.ServletException,
java.io.IOException
- Throws:
javax.servlet.ServletException
java.io.IOException
getCountInterval
public int getCountInterval()
Copyright © 2010. All Rights Reserved.