public interface BackupBuilder
Modifier and Type | Method and Description |
---|---|
void |
addToBackup(Collection<File> files,
File rootDir)
Add
files to a backup being created. |
void addToBackup(Collection<File> files, File rootDir)
files
to a backup being created.
Relative position of each file to rootDir
determines its relative subpath within the backupfiles
- list of existing files to be included to the backuprootDir
- determines relative subpaths of files in the archive , must be parent to the files
(will throw an exeption otherwise)Copyright © 2002-2022 Atlassian. All Rights Reserved.