org.jenkinsci.plugins.periodicbackup
Class FullBackup

java.lang.Object
  extended by hudson.model.AbstractModelObject
      extended by org.jenkinsci.plugins.periodicbackup.FileManager
          extended by 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
static class FullBackup.DescriptorImpl
           
 
Constructor Summary
FullBackup()
           
 
Method Summary
 boolean equals(java.lang.Object o)
           
 java.lang.String getDisplayName()
           
 java.lang.Iterable<java.io.File> getFilesToBackup()
          This method determines files and folders for Storage
 int hashCode()
           
 
Methods inherited from class org.jenkinsci.plugins.periodicbackup.FileManager
all, getDescriptor, getSearchUrl, restoreFiles
 
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
 

Constructor Detail

FullBackup

@DataBoundConstructor
public FullBackup()
Method Detail

getDisplayName

public java.lang.String getDisplayName()

getFilesToBackup

public java.lang.Iterable<java.io.File> getFilesToBackup()
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

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.