Class ThinBackupPluginImpl

    • Constructor Detail

      • ThinBackupPluginImpl

        @DataBoundConstructor
        public ThinBackupPluginImpl()
    • Method Detail

      • getJenkinsHome

        public File getJenkinsHome()
      • setFullBackupSchedule

        @DataBoundSetter
        public void setFullBackupSchedule​(String fullBackupSchedule)
      • getFullBackupSchedule

        public String getFullBackupSchedule()
      • setDiffBackupSchedule

        @DataBoundSetter
        public void setDiffBackupSchedule​(String diffBackupSchedule)
      • getDiffBackupSchedule

        public String getDiffBackupSchedule()
      • getForceQuietModeTimeout

        public int getForceQuietModeTimeout()
      • setForceQuietModeTimeout

        @DataBoundSetter
        public void setForceQuietModeTimeout​(int forceQuietModeTimeout)
      • setBackupPath

        @DataBoundSetter
        public void setBackupPath​(String backupPath)
      • getBackupPath

        public String getBackupPath()
        Get the backup path as entered by the user. May contain traces of environment variables.

        If you need a path that can be used as is (env. vars expanded), please use @link{getExpandedBackupPath}.

        Returns:
        the backup path as stored in the settings page.
      • getExpandedBackupPath

        public String getExpandedBackupPath()
        Returns:
        the backup path with possibly contained environment variables expanded.
      • setNrMaxStoredFull

        @DataBoundSetter
        public void setNrMaxStoredFull​(int nrMaxStoredFull)
      • getNrMaxStoredFull

        public int getNrMaxStoredFull()
      • setCleanupDiff

        @DataBoundSetter
        public void setCleanupDiff​(boolean cleanupDiff)
      • isCleanupDiff

        public boolean isCleanupDiff()
      • setMoveOldBackupsToZipFile

        @DataBoundSetter
        public void setMoveOldBackupsToZipFile​(boolean moveOldBackupsToZipFile)
      • isMoveOldBackupsToZipFile

        public boolean isMoveOldBackupsToZipFile()
      • setBackupBuildResults

        @DataBoundSetter
        public void setBackupBuildResults​(boolean backupBuildResults)
      • isBackupBuildResults

        public boolean isBackupBuildResults()
      • setBackupBuildArchive

        @DataBoundSetter
        public void setBackupBuildArchive​(boolean backupBuildArchive)
      • isBackupBuildArchive

        public boolean isBackupBuildArchive()
      • setBackupBuildsToKeepOnly

        @DataBoundSetter
        public void setBackupBuildsToKeepOnly​(boolean backupBuildsToKeepOnly)
      • isBackupBuildsToKeepOnly

        public boolean isBackupBuildsToKeepOnly()
      • setBackupNextBuildNumber

        @DataBoundSetter
        public void setBackupNextBuildNumber​(boolean backupNextBuildNumber)
      • isBackupNextBuildNumber

        public boolean isBackupNextBuildNumber()
      • setExcludedFilesRegex

        @DataBoundSetter
        public void setExcludedFilesRegex​(String excludedFilesRegex)
      • isBackupUserContents

        public boolean isBackupUserContents()
      • setBackupUserContents

        @DataBoundSetter
        public void setBackupUserContents​(boolean backupUserContents)
      • getExcludedFilesRegex

        public String getExcludedFilesRegex()
      • setBackupPluginArchives

        @DataBoundSetter
        public void setBackupPluginArchives​(boolean backupPluginArchives)
      • isBackupPluginArchives

        public boolean isBackupPluginArchives()
      • setBackupAdditionalFiles

        @DataBoundSetter
        public void setBackupAdditionalFiles​(boolean backupAdditionalFiles)
      • isBackupAdditionalFiles

        public boolean isBackupAdditionalFiles()
      • setBackupAdditionalFilesRegex

        @DataBoundSetter
        public void setBackupAdditionalFilesRegex​(String backupAdditionalFilesRegex)
      • getBackupAdditionalFilesRegex

        public String getBackupAdditionalFilesRegex()
      • setWaitForIdle

        @DataBoundSetter
        public void setWaitForIdle​(boolean waitForIdle)
      • isWaitForIdle

        public boolean isWaitForIdle()
      • isBackupConfigHistory

        public boolean isBackupConfigHistory()
      • setBackupConfigHistory

        @DataBoundSetter
        public void setBackupConfigHistory​(boolean backupConfigHistory)
      • isFailFast

        public boolean isFailFast()
      • setFailFast

        @DataBoundSetter
        public void setFailFast​(boolean failFast)
      • doCheckBackupPath

        @POST
        public FormValidation doCheckBackupPath​(@QueryParameter
                                                String value)
      • doCheckFullBackupSchedule

        @POST
        public FormValidation doCheckFullBackupSchedule​(@QueryParameter("value")
                                                        String schedule)
      • doCheckDiffBackupSchedule

        @POST
        public FormValidation doCheckDiffBackupSchedule​(@QueryParameter("value")
                                                        String schedule)
      • doCheckExcludedFilesRegex

        @POST
        public FormValidation doCheckExcludedFilesRegex​(@QueryParameter("value")
                                                        String regex)
      • doCheckBackupAdditionalFilesRegex

        @POST
        public FormValidation doCheckBackupAdditionalFilesRegex​(@QueryParameter("value")
                                                                String regex)
      • doCheckWaitForIdle

        @POST
        public FormValidation doCheckWaitForIdle​(@QueryParameter("value")
                                                 String waitForIdle)
      • doCheckForceQuietModeTimeout

        @POST
        public FormValidation doCheckForceQuietModeTimeout​(@QueryParameter("value")
                                                           String timeout)