Class ConfigOnly

  • All Implemented Interfaces:
    hudson.model.Describable<FileManager>, hudson.model.ModelObject, hudson.search.SearchableModelObject, hudson.search.SearchItem

    public class ConfigOnly
    extends FileManager
    This implementation of FileManager will only select the .xml files from the Jenkins homedir and the config.xml files of all the jobs and users during backup. During restore it will try to overwrite the existing files.
    • Constructor Detail

      • ConfigOnly

        @DataBoundConstructor
        public ConfigOnly()
    • Method Detail

      • getDisplayName

        public String getDisplayName()
      • getFilesToBackup

        public Iterable<File> getFilesToBackup()
                                        throws org.jenkinsci.plugins.periodicbackup.PeriodicBackupException
        Description copied from class: FileManager
        This method determines files and folders for Storage
        Specified by:
        getFilesToBackup in class FileManager
        Returns:
        Files to be included in the backup
        Throws:
        org.jenkinsci.plugins.periodicbackup.PeriodicBackupException - if anything bad happens