Class FullBackup
- java.lang.Object
-
- hudson.model.AbstractModelObject
-
- org.jenkinsci.plugins.periodicbackup.FileManager
-
- org.jenkinsci.plugins.periodicbackup.FullBackup
-
- All Implemented Interfaces:
hudson.model.Describable<FileManager>
,hudson.model.ModelObject
,hudson.search.SearchableModelObject
,hudson.search.SearchItem
public class FullBackup extends FileManager
FullBackup will choose all the files in the Jenkins homedir during the backup. During the restore it will delete all the deletable files in the Jenkins homedir and then it will write with files in the selected backup.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
FullBackup.DescriptorImpl
-
Constructor Summary
Constructors Constructor Description FullBackup()
FullBackup(String includesString, String excludesString, boolean followSymbolicLinks)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
String
getDisplayName()
String
getExcludesString()
Iterable<File>
getFilesToBackup()
This method determines files and folders for StorageString
getIncludesString()
int
hashCode()
boolean
isFollowSymbolicLinks()
-
Methods inherited from class org.jenkinsci.plugins.periodicbackup.FileManager
all, getDescriptor, getSearchUrl, restoreFiles
-
-
-
-
Constructor Detail
-
FullBackup
public FullBackup()
-
FullBackup
@DataBoundConstructor public FullBackup(@CheckForNull String includesString, @CheckForNull String excludesString, boolean followSymbolicLinks)
-
-
Method Detail
-
getDisplayName
public String getDisplayName()
-
getFilesToBackup
public Iterable<File> getFilesToBackup()
Description copied from class:FileManager
This method determines files and folders for Storage- Specified by:
getFilesToBackup
in classFileManager
- Returns:
- Files to be included in the backup
-
equals
public boolean equals(Object o)
- Overrides:
equals
in classFileManager
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classFileManager
-
getIncludesString
@CheckForNull public String getIncludesString()
-
getExcludesString
@CheckForNull public String getExcludesString()
-
isFollowSymbolicLinks
public boolean isFollowSymbolicLinks()
-
-