Class ServerSettings.BackupFolder

java.lang.Object
org.kendar.sync.lib.model.ServerSettings.BackupFolder
Enclosing class:
ServerSettings

public static class ServerSettings.BackupFolder extends Object
Represents a backup folder.
  • 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 folder
      realPath - The real path of the folder
      backupType - The type of backup
      allowedUsers - The list of user IDs allowed to access the folder
  • Method Details

    • getVirtualName

      public String getVirtualName()
    • setVirtualName

      public void setVirtualName(String virtualName)
    • getRealPath

      public String getRealPath()
    • setRealPath

      public void setRealPath(String realPath)
    • getBackupType

      public BackupType getBackupType()
    • setBackupType

      public void setBackupType(BackupType backupType)
    • getAllowedUsers

      public List<String> getAllowedUsers()
    • setAllowedUsers

      public void setAllowedUsers(List<String> allowedUsers)