Package com.xebialabs.xlrelease.config
Class ArchivingSettingsManager
java.lang.Object
com.xebialabs.xlrelease.config.ArchivingSettingsManager
A wrapper around
ArchivingSettings which manages
both SQL-stored settings and JMX-controlled settings.-
Constructor Summary
ConstructorsConstructorDescriptionArchivingSettingsManager(com.xebialabs.xlrelease.repository.ConfigurationRepository configurationRepository) -
Method Summary
Modifier and TypeMethodDescriptionbooleanbooleanbooleanbooleanbooleanvoidsetEnabled(Boolean enabled) voidsetMaxSecondsPerRun(Integer maxSecondsPerRun) voidsetPreArchivingEnabled(Boolean enabled) voidsetPurgingMaxSecondsPerRun(Integer maxSecondsPerRun) voidsetPurgingSearchPageSize(Integer searchPageSize) voidsetPurgingSleepSecondsBetweenReleases(Integer sleepSecondsBetweenReleases) voidsetReleaseCleanupMaxSecondsPerRun(Integer maxSecondsPerRun) voidsetReleaseCleanupSearchPageSize(Integer searchPageSize) voidvoidsetSearchPageSize(Integer searchPageSize) voidsetSleepSecondsBetweenReleases(Integer sleepSecondsBetweenReleases) voidsubscribeToPreArchivingEnabledChanges(Consumer<Boolean> callback)
-
Constructor Details
-
ArchivingSettingsManager
@Autowired public ArchivingSettingsManager(com.xebialabs.xlrelease.repository.ConfigurationRepository configurationRepository)
-
-
Method Details
-
subscribeToPreArchivingEnabledChanges
-
getPreArchivingEnabled
public boolean getPreArchivingEnabled() -
setPreArchivingEnabled
-
getReleaseAgeToDeleteFromJcr
-
getArchivingJobCronSchedule
-
getEnabled
public boolean getEnabled() -
setEnabled
-
getSearchPageSize
-
setSearchPageSize
-
getMaxSecondsPerRun
-
setMaxSecondsPerRun
-
getSleepSecondsBetweenReleases
-
setSleepSecondsBetweenReleases
-
getMaximumArchiveRetentionPeriod
-
getPurgingJobCronSchedule
-
getPurgingEnabled
public boolean getPurgingEnabled() -
getPurgeExportPath
-
getExportOnPurgeEnabled
public boolean getExportOnPurgeEnabled() -
getPurgingSearchPageSize
-
setPurgingSearchPageSize
-
getPurgingMaxSecondsPerRun
-
setPurgingMaxSecondsPerRun
-
getPurgingSleepSecondsBetweenReleases
-
setPurgingSleepSecondsBetweenReleases
-
getReleaseCleanupEnabled
public boolean getReleaseCleanupEnabled() -
getReleaseAgeToAbort
-
getReleaseCleanupSleepSecondsBetweenAbort
-
setReleaseCleanupSleepSecondsBetweenAbort
-
getReleaseCleanupSearchPageSize
-
setReleaseCleanupSearchPageSize
-
getReleaseCleanupMaxSecondsPerRun
-
setReleaseCleanupMaxSecondsPerRun
-
getReleaseCleanupCronSchedule
-