Package org.kendar.sync.lib.model
Class ServerSettings.BackupFolder
java.lang.Object
org.kendar.sync.lib.model.ServerSettings.BackupFolder
- Enclosing class:
- ServerSettings
Represents a backup folder.
-
Constructor Summary
ConstructorsConstructorDescriptionBackupFolder(String virtualName, String realPath, BackupType backupType, List<String> allowedUsers) Creates a new backup folder. -
Method Summary
Modifier and TypeMethodDescriptionvoidsetAllowedUsers(List<String> allowedUsers) voidsetBackupType(BackupType backupType) voidsetRealPath(String realPath) voidsetVirtualName(String virtualName)
-
Constructor Details
-
BackupFolder
public BackupFolder() -
BackupFolder
public BackupFolder(String virtualName, String realPath, BackupType backupType, List<String> allowedUsers) Creates a new backup folder.- Parameters:
virtualName- The virtual name of the folderrealPath- The real path of the folderbackupType- The type of backupallowedUsers- The list of user IDs allowed to access the folder
-
-
Method Details
-
getVirtualName
-
setVirtualName
-
getRealPath
-
setRealPath
-
getBackupType
-
setBackupType
-
getAllowedUsers
-
setAllowedUsers
-