| Modifier and Type | Class and Description |
|---|---|
static class |
TarGzStorage.DescriptorImpl |
| Constructor and Description |
|---|
TarGzStorage() |
| Modifier and Type | Method and Description |
|---|---|
void |
backupAddFile(File fileToStore)
Adds a file to an archive.
|
void |
backupStart(String tempDirectoryPath,
String archiveFilenameBase)
Initializes Storage for the archiving process
|
Iterable<File> |
backupStop()
Finalizes the archiving process
|
boolean |
equals(Object o) |
String |
getDisplayName() |
int |
hashCode() |
void |
unarchiveFiles(Iterable<File> archives,
File tempDir)
Extracts backup files from given archives into the temporary directory
after successful extraction the archives will be deleted
|
all, getDescriptor, getSearchUrlpublic void backupStart(String tempDirectoryPath, String archiveFilenameBase) throws org.jenkinsci.plugins.periodicbackup.PeriodicBackupException
StoragebackupStart in class StoragetempDirectoryPath - String with a path to the temporary directory, where the archive(s) will be createdarchiveFilenameBase - first part of the archive filenamePeriodicBackupException - if something goes wrongpublic void backupAddFile(File fileToStore) throws org.jenkinsci.plugins.periodicbackup.PeriodicBackupException
StoragebackupAddFile in class StoragefileToStore - The file that will be added to the archivePeriodicBackupException - if something goes wrongpublic Iterable<File> backupStop() throws org.jenkinsci.plugins.periodicbackup.PeriodicBackupException
StoragebackupStop in class StoragePeriodicBackupException - if something goes wrongpublic void unarchiveFiles(Iterable<File> archives, File tempDir)
StorageunarchiveFiles in class Storagearchives - backup archivestempDir - Directory where the files will be extracted to, it should be empty at this pointpublic String getDisplayName()
Copyright © 2016–2022. All rights reserved.