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
 DiskUsage getDiskUsage()
           
 hudson.util.Graph getGraph()
          Generates a graph with disk usage trend
 BuildDiskUsageAction getLastBuildAction()
           
 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 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()

getGraph

public hudson.util.Graph getGraph()
                           throws IOException
Generates a graph with disk usage trend

Throws:
IOException

showGraph

public boolean showGraph()
Shortcut for the jelly view



Copyright © 2004-2012. All Rights Reserved.