Package hudson.plugins.disk_usage
Class DiskUsageProjectActionFactory.DescriptorImpl
java.lang.Object
hudson.model.Descriptor<DiskUsageProjectActionFactory>
hudson.plugins.disk_usage.DiskUsageProjectActionFactory.DescriptorImpl
- Enclosing class:
DiskUsageProjectActionFactory
public static class DiskUsageProjectActionFactory.DescriptorImpl
extends Descriptor<DiskUsageProjectActionFactory>
-
Nested Class Summary
Nested classes/interfaces inherited from class hudson.model.Descriptor
Descriptor.FormException, Descriptor.PropertyType, Descriptor.Self -
Field Summary
Fields inherited from class hudson.model.Descriptor
clazz -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanbooleanconfigure(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject formData) voidvoidvoiddoCheckCountIntervalBuilds(String value) doCheckCountIntervalJobs(String value) voidvoidvoidbooleanbooleanDeprecated, for removal: This API element is subject to removal in a future version.intbooleanintbooleanbooleanbooleanbooleanisExcluded(AbstractProject<?, ?> project) booleannewInstance(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject formData) voidonDeleteJob(AbstractProject<?, ?> project) voidonRenameJob(String oldName, String newName) voidsetCheckWorkspaceOnAgent(boolean check) voidsetCheckWorkspaceOnSlave(boolean check) Deprecated, for removal: This API element is subject to removal in a future version.voidsetExcludedJobs(List<String> excludedJobs) voidsetHistoryLength(Integer historyLength) voidsetShowGraph(Boolean showGraph) voidsetTimeoutWorkspace(Integer timeoutWorkspace) booleanbooleanbooleanbooleanbooleanMethods inherited from class hudson.model.Descriptor
addHelpFileRedirect, bindJSON, bindJSON, calcAutoCompleteSettings, calcFillSettings, configure, configure, doHelp, doHelp, find, find, findByDescribableClassName, findById, getCategory, getCheckMethod, getCheckUrl, getConfigFile, getConfigPage, getCurrentDescriptorByNameUrl, getDescriptorFullUrl, getDescriptorUrl, getGlobalConfigPage, getGlobalPropertyType, getHelpFile, getHelpFile, getHelpFile, getId, getJsonSafeClassName, getKlass, getPlugin, getPossibleViewNames, getPropertyType, getPropertyType, getPropertyTypeOrDie, getRequiredGlobalConfigPagePermission, getStaticHelpUrl, getStaticHelpUrl, getT, getViewPage, isInstance, isSubTypeOf, load, newInstance, newInstance, newInstancesFromHeteroList, newInstancesFromHeteroList, newInstancesFromHeteroList, newInstancesFromHeteroList, save, self, toArray, toList, toMap
-
Constructor Details
-
DescriptorImpl
public DescriptorImpl()
-
-
Method Details
-
getCashedGlobalBuildsDiskUsage
-
getCashedGlobalJobsDiskUsage
-
getCashedGlobalJobsWithoutBuildsDiskUsage
-
getCashedGlobalLockedBuildsDiskUsage
-
getCashedGlobalWorkspacesDiskUsage
-
getJobWorkspaceExceedSize
-
getJobWorkspaceExceedSizeInString
-
isShowGraph
public boolean isShowGraph() -
setShowGraph
-
getHistoryLength
public int getHistoryLength() -
setHistoryLength
-
getHistory
-
getCountIntervalForBuilds
-
getCountIntervalForJobs
-
getCountIntervalForWorkspaces
-
getCheckWorkspaceOnSlave
Deprecated, for removal: This API element is subject to removal in a future version. -
getCheckWorkspaceOnAgent
public boolean getCheckWorkspaceOnAgent() -
setCheckWorkspaceOnSlave
Deprecated, for removal: This API element is subject to removal in a future version. -
setCheckWorkspaceOnAgent
public void setCheckWorkspaceOnAgent(boolean check) -
setExcludedJobs
-
isCalculationWorkspaceEnabled
public boolean isCalculationWorkspaceEnabled() -
isCalculationBuildsEnabled
public boolean isCalculationBuildsEnabled() -
isCalculationJobsEnabled
public boolean isCalculationJobsEnabled() -
warnAboutJobWorkspaceExceedSize
public boolean warnAboutJobWorkspaceExceedSize() -
warnAboutAllJobsExceetedSize
public boolean warnAboutAllJobsExceetedSize() -
warnAboutBuildExceetedSize
public boolean warnAboutBuildExceetedSize() -
warnAboutJobExceetedSize
public boolean warnAboutJobExceetedSize() -
getEmailAddress
-
warningAboutExceededSize
public boolean warningAboutExceededSize() -
getAllJobsExceedSize
-
getBuildExceedSize
-
getJobExceedSize
-
getAllJobsExceedSizeInString
-
getBuildExceedSizeInString
-
getJobExceedSizeInString
-
addHistory
-
enableBuildsDiskUsageCalculation
public void enableBuildsDiskUsageCalculation() -
disableBuildsDiskUsageCalculation
public void disableBuildsDiskUsageCalculation() -
enableJobsDiskUsageCalculation
public void enableJobsDiskUsageCalculation() -
disableJobsDiskUsageCalculation
public void disableJobsDiskUsageCalculation() -
enableWorkspacesDiskUsageCalculation
public void enableWorkspacesDiskUsageCalculation() -
disableWorkspacesDiskUsageCalculation
public void disableWorkspacesDiskUsageCalculation() -
getUnit
-
getValue
-
getDisplayName
- Overrides:
getDisplayNamein classDescriptor<DiskUsageProjectActionFactory>
-
newInstance
public DiskUsageProjectActionFactory newInstance(org.kohsuke.stapler.StaplerRequest req, @NonNull net.sf.json.JSONObject formData) - Overrides:
newInstancein classDescriptor<DiskUsageProjectActionFactory>
-
configure
public boolean configure(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject formData) - Overrides:
configurein classDescriptor<DiskUsageProjectActionFactory>
-
onRenameJob
-
onDeleteJob
-
isExcluded
-
getExcludedJobsInString
-
doCheckCountIntervalBuilds
-
doCheckCountIntervalJobs
-
doCheckCountIntervalWorkspace
-
getTimeoutWorkspace
public int getTimeoutWorkspace() -
getShowFreeSpaceForJobDirectory
public boolean getShowFreeSpaceForJobDirectory() -
setTimeoutWorkspace
-