Class ProjectDiskUsageAction

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

@ExportedBean(defaultVisibility=1) public class ProjectDiskUsageAction extends Object implements ProminentProjectAction
Disk usage of a project
Author:
dvrzalik
  • Constructor Details

  • Method Details

    • getIconFileName

      public String getIconFileName()
      Specified by:
      getIconFileName in interface Action
    • getDisplayName

      public String getDisplayName()
      Specified by:
      getDisplayName in interface Action
      Specified by:
      getDisplayName in interface ModelObject
    • getUrlName

      public String getUrlName()
      Specified by:
      getUrlName in interface Action
    • getDiskUsageWorkspace

      public Long getDiskUsageWorkspace()
    • getAllSlaveWorkspaces

      @Deprecated(forRemoval=true) public Long getAllSlaveWorkspaces()
      Deprecated, for removal: This API element is subject to removal in a future version.
    • getAllAgentWorkspaces

      public Long getAllAgentWorkspaces()
    • getAllCustomOrNonSlaveWorkspaces

      @Deprecated(forRemoval=true) public Long getAllCustomOrNonSlaveWorkspaces()
      Deprecated, for removal: This API element is subject to removal in a future version.
    • getAllCustomOrNonAgentWorkspaces

      public Long getAllCustomOrNonAgentWorkspaces()
    • getAllDiskUsageWorkspace

      public Long getAllDiskUsageWorkspace()
      Returns all workspace disku usage including workspace usage its sub-projects
      Returns:
      disk usage project and its sub-projects
    • getSizeInString

      public String getSizeInString(Long size)
    • getDiskUsageWithoutBuilds

      public Long getDiskUsageWithoutBuilds()
    • getAllDiskUsageWithoutBuilds

      public Long getAllDiskUsageWithoutBuilds()
    • getJobRootDirDiskUsage

      public Long getJobRootDirDiskUsage()
    • getBuildsDiskUsage

      public Map<String,Long> getBuildsDiskUsage() throws IOException
      Throws:
      IOException
    • getAllBuildsDiskUsage

      public Long getAllBuildsDiskUsage() throws IOException
      Throws:
      IOException
    • getBuildsDiskUsage

      public Map<String,Long> getBuildsDiskUsage(Date older, Date yonger) throws IOException
      Returns:
      Disk usage for all builds
      Throws:
      IOException
    • getLastBuildAction

      public BuildDiskUsageAction getLastBuildAction()
    • getBuildsInformation

      public Set<DiskUsageBuildInformation> getBuildsInformation() throws IOException
      Throws:
      IOException
    • getGraph

      public Graph getGraph() throws IOException
      Generates a graph with disk usage trend
      Throws:
      IOException
    • showGraph

      public boolean showGraph()
      Shortcut for the jelly view