Package hudson.plugins.disk_usage
Class DiskUsageProperty
- All Implemented Interfaces:
ExtensionPoint,Describable<JobProperty<?>>,ReconfigurableDescribable<JobProperty<?>>,BuildStep
This Property sets DiskUsage action.
- Author:
- dvrzalik
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from interface hudson.tasks.BuildStep
BuildStep.PublisherListNested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson -
Field Summary
FieldsFields inherited from class hudson.model.JobProperty
ownerFields inherited from interface hudson.tasks.BuildStep
BUILDERS, PUBLISHERS -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidcheckWorkspaces(boolean force) getAllDiskUsageOfBuild(int buildNumber) getAllDiskUsageOfBuild(String buildId) Deprecated, for removal: This API element is subject to removal in a future version.getDiskUsageBuildInformation(int buildNumber) getDiskUsageBuildInformation(String buildId) getDiskUsageOfBuild(int buildNumber) getDiskUsageOfBuild(String buildId) Collection<? extends Action> getJobActions(Job<?, ?> job) Deprecated, for removal: This API element is subject to removal in a future version.getWorkspaceSize(Boolean containdedInWorkspace) voidvoidputAgentWorkspace(Node node, String path) voidputAgentWorkspaceSize(Node node, String path, Long size) voidputSlaveWorkspace(Node node, String path) Deprecated, for removal: This API element is subject to removal in a future version.voidputSlaveWorkspaceSize(Node node, String path, Long size) Deprecated, for removal: This API element is subject to removal in a future version.JobProperty<?> reconfigure(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject form) voidvoidvoidsetDiskUsageWithoutBuilds(Long diskUsageWithoutBuilds) voidMethods inherited from class hudson.model.JobProperty
getDescriptor, getJobAction, getJobOverrides, getProjectAction, getProjectActions, getRequiredMonitorService, getSubTasks, perform, prebuild, reconfigure
-
Field Details
-
LOGGER
-
-
Constructor Details
-
DiskUsageProperty
public DiskUsageProperty()
-
-
Method Details
-
getJobActions
- Overrides:
getJobActionsin classJobProperty<Job<?,?>>
-
setDiskUsageWithoutBuilds
-
remove
-
getDiskUsageOfBuilds
-
getDiskUsageOfBuild
-
getDiskUsageBuildInformation
-
getAllDiskUsageOfBuild
-
getAllDiskUsageOfBuild
-
getDiskUsageBuildInformation
-
getDiskUsageOfBuild
-
getProjectDiskUsage
-
getDiskUsage
-
setOwner
- Overrides:
setOwnerin classJobProperty<Job<?,?>>
-
putSlaveWorkspace
Deprecated, for removal: This API element is subject to removal in a future version. -
putAgentWorkspace
-
getSlaveWorkspaceUsage
Deprecated, for removal: This API element is subject to removal in a future version. -
getAgentWorkspaceUsage
-
putSlaveWorkspaceSize
Deprecated, for removal: This API element is subject to removal in a future version. -
putAgentWorkspaceSize
-
getWorkspaceSize
-
checkWorkspaces
public void checkWorkspaces() -
checkWorkspaces
public void checkWorkspaces(boolean force) -
getAllNonSlaveOrCustomWorkspaceSize
Deprecated, for removal: This API element is subject to removal in a future version. -
getAllNonAgentOrCustomWorkspaceSize
-
getAllWorkspaceSize
-
getDiskUsageWithoutBuilds
-
getAllDiskUsageWithoutBuilds
-
saveDiskUsage
public void saveDiskUsage() -
loadDiskUsage
public void loadDiskUsage() -
reconfigure
public JobProperty<?> reconfigure(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject form) throws Descriptor.FormException - Specified by:
reconfigurein interfaceReconfigurableDescribable<JobProperty<?>>- Overrides:
reconfigurein classJobProperty<Job<?,?>> - Throws:
Descriptor.FormException
-