Package hudson.plugins.disk_usage
Class ProjectDiskUsage
- java.lang.Object
-
- hudson.plugins.disk_usage.ProjectDiskUsage
-
-
Constructor Summary
Constructors Constructor Description ProjectDiskUsage()
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description void
addBuildInformation(DiskUsageBuildInformation info, AbstractBuild build)
boolean
containsBuildWithId(String id)
Map<String,Map<String,Long>>
getAgentWorkspacesUsage()
Set<DiskUsageBuildInformation>
getBuildDiskUsage(boolean needAll)
XmlFile
getConfigFile()
DiskUsageBuildInformation
getDiskUsageBuildInformation(int number)
Map<String,Map<String,Long>>
getSlaveWorkspacesUsage()
Deprecated, for removal: This API element is subject to removal in a future version.boolean
isBuildsLoaded()
void
load()
void
loadAllBuilds()
void
putAgentWorkspaceSize(Node node, String path, Long size)
void
putSlaveWorkspaceSize(Node node, String path, Long size)
Deprecated, for removal: This API element is subject to removal in a future version.void
removeBuild(DiskUsageBuildInformation information)
void
save()
void
setProject(Job job)
-
-
-
Method Detail
-
getSlaveWorkspacesUsage
@Deprecated(forRemoval=true) public Map<String,Map<String,Long>> getSlaveWorkspacesUsage()
Deprecated, for removal: This API element is subject to removal in a future version.
-
getConfigFile
public XmlFile getConfigFile()
-
setProject
public void setProject(Job job)
-
isBuildsLoaded
public boolean isBuildsLoaded()
-
getBuildDiskUsage
public Set<DiskUsageBuildInformation> getBuildDiskUsage(boolean needAll)
-
removeBuild
public void removeBuild(DiskUsageBuildInformation information)
-
putSlaveWorkspaceSize
@Deprecated(forRemoval=true) public void putSlaveWorkspaceSize(Node node, String path, Long size)
Deprecated, for removal: This API element is subject to removal in a future version.
-
putAgentWorkspaceSize
public void putAgentWorkspaceSize(@NonNull Node node, String path, Long size)
-
containsBuildWithId
public boolean containsBuildWithId(String id)
-
loadAllBuilds
public void loadAllBuilds() throws IOException
- Throws:
IOException
-
load
public void load()
-
getDiskUsageBuildInformation
public DiskUsageBuildInformation getDiskUsageBuildInformation(int number)
-
addBuildInformation
public void addBuildInformation(DiskUsageBuildInformation info, @Nullable AbstractBuild build)
-
-