Class ConfigOnly
- java.lang.Object
-
- hudson.model.AbstractModelObject
-
- org.jenkinsci.plugins.periodicbackup.FileManager
-
- org.jenkinsci.plugins.periodicbackup.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.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classConfigOnly.DescriptorImpl
-
Constructor Summary
Constructors Constructor Description ConfigOnly()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)StringgetDisplayName()Iterable<File>getFilesToBackup()This method determines files and folders for StorageinthashCode()-
Methods inherited from class org.jenkinsci.plugins.periodicbackup.FileManager
all, getDescriptor, getSearchUrl, restoreFiles
-
-
-
-
Method Detail
-
getDisplayName
public String getDisplayName()
-
getFilesToBackup
public Iterable<File> getFilesToBackup() throws org.jenkinsci.plugins.periodicbackup.PeriodicBackupException
Description copied from class:FileManagerThis method determines files and folders for Storage- Specified by:
getFilesToBackupin classFileManager- Returns:
- Files to be included in the backup
- Throws:
org.jenkinsci.plugins.periodicbackup.PeriodicBackupException- if anything bad happens
-
equals
public boolean equals(Object o)
- Overrides:
equalsin classFileManager
-
hashCode
public int hashCode()
- Overrides:
hashCodein classFileManager
-
-