Class ArchivingSettingsManagerMBean


  • @Component
    @ManagedResource(objectName="com.xebialabs.xlrelease.settings:name=Archiving",
                     description="MBean to configure the release archiving service")
    public class ArchivingSettingsManagerMBean
    extends java.lang.Object
    • Constructor Detail

      • ArchivingSettingsManagerMBean

        @Autowired
        public ArchivingSettingsManagerMBean​(ArchivingSettingsManager archivingSettingsManager)
    • Method Detail

      • getPreArchivingEnabled

        @ManagedAttribute(description="Enabled pre-archiving")
        public boolean getPreArchivingEnabled()
      • setPreArchivingEnabled

        @ManagedAttribute(description="Enabled pre-archiving")
        public void setPreArchivingEnabled​(boolean val)
      • getEnabled

        @ManagedAttribute(description="Enable archiving")
        public boolean getEnabled()
      • setEnabled

        @ManagedAttribute(description="Enable archiving")
        public void setEnabled​(boolean val)
      • getSearchPageSize

        @ManagedAttribute(description="Number of archivable releases to retrieve from the repository in a single search query")
        public int getSearchPageSize()
      • setSearchPageSize

        @ManagedAttribute(description="Number of archivable releases to retrieve from the repository in a single search query")
        public void setSearchPageSize​(int val)
      • getMaxSecondsPerRun

        @ManagedAttribute(description="Number of seconds that archiving is allowed to run before it is paused until the next time it is scheduled")
        public int getMaxSecondsPerRun()
      • setMaxSecondsPerRun

        @ManagedAttribute(description="Number of seconds that archiving is allowed to run before it is paused until the next time it is scheduled")
        public void setMaxSecondsPerRun​(int val)
      • getPurgingSleepSecondsBetweenReleases

        @ManagedAttribute(description="Number of seconds to sleep between purging individual releases within a single run")
        public int getPurgingSleepSecondsBetweenReleases()
      • setPurgingSleepSecondsBetweenReleases

        @ManagedAttribute(description="Number of seconds to sleep between purging individual releases within a single run")
        public void setPurgingSleepSecondsBetweenReleases​(int val)
      • getPurgingSearchPageSize

        @ManagedAttribute(description="Number of purging releases to retrieve from the repository in a single search query")
        public int getPurgingSearchPageSize()
      • setPurgingSearchPageSize

        @ManagedAttribute(description="Number of purging releases to retrieve from the repository in a single search query")
        public void setPurgingSearchPageSize​(int val)
      • getPurgingMaxSecondsPerRun

        @ManagedAttribute(description="Number of seconds that purging is allowed to run before it is paused until the next time it is scheduled")
        public int getPurgingMaxSecondsPerRun()
      • setPurgingMaxSecondsPerRun

        @ManagedAttribute(description="Number of seconds that purging is allowed to run before it is paused until the next time it is scheduled")
        public void setPurgingMaxSecondsPerRun​(int val)
      • getSleepSecondsBetweenReleases

        @ManagedAttribute(description="Number of seconds to sleep between archiving individual releases within a single run")
        public int getSleepSecondsBetweenReleases()
      • setSleepSecondsBetweenReleases

        @ManagedAttribute(description="Number of seconds to sleep between archiving individual releases within a single run")
        public void setSleepSecondsBetweenReleases​(int val)
      • getReleaseCleanupSleepSecondsBetweenAbort

        @ManagedAttribute(description="Number of seconds to sleep between aborting individual releases and workflow executions within a single run")
        public int getReleaseCleanupSleepSecondsBetweenAbort()
      • setReleaseCleanupSleepSecondsBetweenAbort

        @ManagedAttribute(description="Number of seconds to sleep between aborting individual releases and workflow executions within a single run")
        public void setReleaseCleanupSleepSecondsBetweenAbort​(int val)
      • getReleaseCleanupSearchPageSize

        @ManagedAttribute(description="Number of stale releases and workflow executions to retrieve from the repository in a single search query")
        public int getReleaseCleanupSearchPageSize()
      • setReleaseCleanupSearchPageSize

        @ManagedAttribute(description="Number of stale releases and workflow executions to retrieve from the repository in a single search query")
        public void setReleaseCleanupSearchPageSize​(int val)
      • getReleaseCleanupMaxSecondsPerRun

        @ManagedAttribute(description="Number of seconds that releases and workflow executions aborting is allowed to run before it is paused until the next time it is scheduled")
        public int getReleaseCleanupMaxSecondsPerRun()
      • setReleaseCleanupMaxSecondsPerRun

        @ManagedAttribute(description="Number of seconds that releases and workflow executions aborting is allowed to run before it is paused until the next time it is scheduled")
        public void setReleaseCleanupMaxSecondsPerRun​(int val)
      • getJobCronSchedule

        @ManagedAttribute(description="Archiving job CRON schedule, configurable in deployit-defaults.properties")
        public java.lang.String getJobCronSchedule()
      • getReleaseAgeToDeleteFromJcr

        @ManagedAttribute(description="Archive completed releases older than (in hours, configurable in UI)")
        public java.lang.Integer getReleaseAgeToDeleteFromJcr()
      • getReleaseCleanupCronSchedule

        @ManagedAttribute(description="Release and workflow execution cleanup job CRON schedule, configurable in deployit-defaults.properties")
        public java.lang.String getReleaseCleanupCronSchedule()
      • getReleaseAgeToAbort

        @ManagedAttribute(description="Cleanup stale releases and workflow executions older than")
        public int getReleaseAgeToAbort()