hudson.plugins.disk_usage
Class ProjectDiskUsageAction

java.lang.Object
  extended by hudson.plugins.disk_usage.DiskUsageAction
      extended by hudson.plugins.disk_usage.ProjectDiskUsageAction
All Implemented Interfaces:
hudson.model.Action, hudson.model.ModelObject, hudson.model.ProminentProjectAction

public class ProjectDiskUsageAction
extends DiskUsageAction

Disk usage of a project

Author:
dvrzalik

Constructor Summary
ProjectDiskUsageAction(hudson.model.AbstractProject<? extends hudson.model.AbstractProject,? extends hudson.model.AbstractBuild> project)
           
 
Method Summary
 void doGraph(org.kohsuke.stapler.StaplerRequest req, org.kohsuke.stapler.StaplerResponse rsp)
          Generates a graph with disk usage trend
 DiskUsage getDiskUsage()
           
 BuildDiskUsageAction getLastBuildAction()
           
 java.lang.String getUrlName()
           
 boolean showGraph()
          Shortcut for the jelly view
 
Methods inherited from class hudson.plugins.disk_usage.DiskUsageAction
getDisplayName, getIconFileName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ProjectDiskUsageAction

public ProjectDiskUsageAction(hudson.model.AbstractProject<? extends hudson.model.AbstractProject,? extends hudson.model.AbstractBuild> project)
Method Detail

getUrlName

public java.lang.String getUrlName()
Specified by:
getUrlName in interface hudson.model.Action
Overrides:
getUrlName in class DiskUsageAction

getDiskUsage

public DiskUsage getDiskUsage()
Returns:
Disk usage for all builds

getLastBuildAction

public BuildDiskUsageAction getLastBuildAction()

doGraph

public void doGraph(org.kohsuke.stapler.StaplerRequest req,
                    org.kohsuke.stapler.StaplerResponse rsp)
             throws java.io.IOException
Generates a graph with disk usage trend

Throws:
java.io.IOException

showGraph

public boolean showGraph()
Shortcut for the jelly view



Copyright © 2010. All Rights Reserved.