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 Constructor Description DescriptorImpl()
-
Method Summary
-
Methods inherited from class hudson.model.Descriptor
addHelpFileRedirect, bindJSON, calcAutoCompleteSettings, calcFillSettings, configure, 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, getT, getViewPage, isInstance, isSubTypeOf, load, newInstance, newInstancesFromHeteroList, newInstancesFromHeteroList, save, self, toArray, toList, toMap
-
-
-
-
Method Detail
-
getCashedGlobalBuildsDiskUsage
public Long getCashedGlobalBuildsDiskUsage()
-
getCashedGlobalJobsDiskUsage
public Long getCashedGlobalJobsDiskUsage()
-
getCashedGlobalJobsWithoutBuildsDiskUsage
public Long getCashedGlobalJobsWithoutBuildsDiskUsage()
-
getCashedGlobalLockedBuildsDiskUsage
public Long getCashedGlobalLockedBuildsDiskUsage()
-
getCashedGlobalWorkspacesDiskUsage
public Long getCashedGlobalWorkspacesDiskUsage()
-
getJobWorkspaceExceedSize
public Long getJobWorkspaceExceedSize()
-
getJobWorkspaceExceedSizeInString
public String getJobWorkspaceExceedSizeInString()
-
isShowGraph
public boolean isShowGraph()
-
setShowGraph
public void setShowGraph(Boolean showGraph)
-
getHistoryLength
public int getHistoryLength()
-
setHistoryLength
public void setHistoryLength(Integer historyLength)
-
getHistory
public List<DiskUsageOvearallGraphGenerator.DiskUsageRecord> getHistory()
-
getCountIntervalForBuilds
public String getCountIntervalForBuilds()
-
getCountIntervalForJobs
public String getCountIntervalForJobs()
-
getCountIntervalForWorkspaces
public String getCountIntervalForWorkspaces()
-
getCheckWorkspaceOnSlave
@Deprecated(forRemoval=true) public boolean getCheckWorkspaceOnSlave()
Deprecated, for removal: This API element is subject to removal in a future version.
-
getCheckWorkspaceOnAgent
public boolean getCheckWorkspaceOnAgent()
-
setCheckWorkspaceOnSlave
@Deprecated(forRemoval=true) public void setCheckWorkspaceOnSlave(boolean check)
Deprecated, for removal: This API element is subject to removal in a future version.
-
setCheckWorkspaceOnAgent
public void setCheckWorkspaceOnAgent(boolean check)
-
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
public String getEmailAddress()
-
warningAboutExceededSize
public boolean warningAboutExceededSize()
-
getAllJobsExceedSize
public Long getAllJobsExceedSize()
-
getBuildExceedSize
public Long getBuildExceedSize()
-
getJobExceedSize
public Long getJobExceedSize()
-
getAllJobsExceedSizeInString
public String getAllJobsExceedSizeInString()
-
getBuildExceedSizeInString
public String getBuildExceedSizeInString()
-
getJobExceedSizeInString
public String getJobExceedSizeInString()
-
addHistory
public boolean addHistory(DiskUsageOvearallGraphGenerator.DiskUsageRecord e)
-
enableBuildsDiskUsageCalculation
public void enableBuildsDiskUsageCalculation()
-
disableBuildsDiskUsageCalculation
public void disableBuildsDiskUsageCalculation()
-
enableJobsDiskUsageCalculation
public void enableJobsDiskUsageCalculation()
-
disableJobsDiskUsageCalculation
public void disableJobsDiskUsageCalculation()
-
enableWorkspacesDiskUsageCalculation
public void enableWorkspacesDiskUsageCalculation()
-
disableWorkspacesDiskUsageCalculation
public void disableWorkspacesDiskUsageCalculation()
-
getDisplayName
@NonNull public String getDisplayName()
- Overrides:
getDisplayName
in classDescriptor<DiskUsageProjectActionFactory>
-
newInstance
public DiskUsageProjectActionFactory newInstance(org.kohsuke.stapler.StaplerRequest req, @NonNull net.sf.json.JSONObject formData)
- Overrides:
newInstance
in classDescriptor<DiskUsageProjectActionFactory>
-
configure
public boolean configure(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject formData)
- Overrides:
configure
in classDescriptor<DiskUsageProjectActionFactory>
-
onDeleteJob
public void onDeleteJob(AbstractProject<?,?> project)
-
isExcluded
public boolean isExcluded(AbstractProject<?,?> project)
-
getExcludedJobsInString
public String getExcludedJobsInString()
-
doCheckCountIntervalBuilds
public FormValidation doCheckCountIntervalBuilds(@QueryParameter String value)
-
doCheckCountIntervalJobs
public FormValidation doCheckCountIntervalJobs(@QueryParameter String value)
-
doCheckCountIntervalWorkspace
public FormValidation doCheckCountIntervalWorkspace(@QueryParameter String value)
-
getTimeoutWorkspace
public int getTimeoutWorkspace()
-
getShowFreeSpaceForJobDirectory
public boolean getShowFreeSpaceForJobDirectory()
-
setTimeoutWorkspace
public void setTimeoutWorkspace(Integer timeoutWorkspace)
-
-