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, getWrapper, 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 String getProjectUrl(hudson.model.Job project)
getProjectList
public static List getProjectList()
- Returns:
- Project list sorted by occupied disk space
addAllProjects
public static List<hudson.model.AbstractProject> addAllProjects(hudson.model.ItemGroup<? extends hudson.model.Item> itemGroup,
List<hudson.model.AbstractProject> items)
- Recursively add Projects form itemGroup
getDiskUsageSum
public static DiskUsage getDiskUsageSum()
doRecordDiskUsage
public void doRecordDiskUsage(org.kohsuke.stapler.StaplerRequest req,
org.kohsuke.stapler.StaplerResponse res)
throws javax.servlet.ServletException,
IOException
- Throws:
javax.servlet.ServletException
IOException
getOverallGraph
public hudson.util.Graph getOverallGraph()
- Generates a graph with disk usage trend
getCountInterval
public int getCountInterval()
Copyright © 2004-2013. All Rights Reserved.