org.jenkinsci.plugins.periodicbackup
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 during backup.
During restore it will try to overwrite the existing files.
| Methods inherited from class hudson.model.AbstractModelObject |
getSearch, getSearchIndex, getSearchName, makeSearchIndex, requirePOST, sendError, sendError, sendError, sendError, sendError |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
ConfigOnly
@DataBoundConstructor
public ConfigOnly()
getDisplayName
public java.lang.String getDisplayName()
getFilesToBackup
public java.lang.Iterable<java.io.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:
PeriodicBackupException - if anything bad happens
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals in class FileManager
hashCode
public int hashCode()
- Overrides:
hashCode in class FileManager
Copyright © 2004-2013. All Rights Reserved.