hudson.plugins.disk_usage
Class DiskUsagePlugin

java.lang.Object
  extended by hudson.Plugin
      extended by 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 Class Summary
static class DiskUsagePlugin.DiskUsageManagementLink
           
 
Nested classes/interfaces inherited from class hudson.Plugin
hudson.Plugin.DummyImpl
 
Field Summary
 
Fields inherited from interface hudson.model.Saveable
NOOP
 
Constructor Summary
DiskUsagePlugin()
           
 
Method Summary
 void doRecordDiskUsage(org.kohsuke.stapler.StaplerRequest req, org.kohsuke.stapler.StaplerResponse res)
           
 int getCountInterval()
           
static DiskUsage getDiskUsage(hudson.model.Job project)
           
static DiskUsage getDiskUsageSum()
           
static java.util.List getProjectList()
           
static java.lang.String getProjectUrl(hudson.model.Job project)
           
 
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
 

Constructor Detail

DiskUsagePlugin

public DiskUsagePlugin()
Method Detail

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.