Package hudson.plugins.disk_usage
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 Summary
ConstructorDescriptionProjectDiskUsageAction
(AbstractProject<? extends AbstractProject<?, ?>, ? extends AbstractBuild<?, ?>> project) -
Method Summary
Modifier and TypeMethodDescriptionDeprecated, for removal: This API element is subject to removal in a future version.Returns all workspace disku usage including workspace usage its sub-projectsDeprecated, for removal: This API element is subject to removal in a future version.getBuildsDiskUsage
(Date older, Date yonger) getGraph()
Generates a graph with disk usage trendgetSizeInString
(Long size) boolean
Shortcut for the jelly view
-
Constructor Details
-
ProjectDiskUsageAction
public ProjectDiskUsageAction(AbstractProject<? extends AbstractProject<?, ?>, ? extends AbstractBuild<?, ?>> project)
-
-
Method Details
-
getIconFileName
- Specified by:
getIconFileName
in interfaceAction
-
getDisplayName
- Specified by:
getDisplayName
in interfaceAction
- Specified by:
getDisplayName
in interfaceModelObject
-
getUrlName
- Specified by:
getUrlName
in interfaceAction
-
getDiskUsageWorkspace
-
getAllSlaveWorkspaces
Deprecated, for removal: This API element is subject to removal in a future version. -
getAllAgentWorkspaces
-
getAllCustomOrNonSlaveWorkspaces
Deprecated, for removal: This API element is subject to removal in a future version. -
getAllCustomOrNonAgentWorkspaces
-
getAllDiskUsageWorkspace
Returns all workspace disku usage including workspace usage its sub-projects- Returns:
- disk usage project and its sub-projects
-
getSizeInString
-
getDiskUsageWithoutBuilds
-
getAllDiskUsageWithoutBuilds
-
getJobRootDirDiskUsage
-
getBuildsDiskUsage
- Throws:
IOException
-
getAllBuildsDiskUsage
- Throws:
IOException
-
getBuildsDiskUsage
- Returns:
- Disk usage for all builds
- Throws:
IOException
-
getLastBuildAction
-
getBuildsInformation
- Throws:
IOException
-
getGraph
Generates a graph with disk usage trend- Throws:
IOException
-
showGraph
public boolean showGraph()Shortcut for the jelly view
-