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, boolean ignoreSystemFiles, boolean ignoreHiddenFiles, List<String> ignoredPatterns)
      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

    • isIgnoreSystemFiles

      public boolean isIgnoreSystemFiles()
    • setIgnoreSystemFiles

      public void setIgnoreSystemFiles(boolean ignoreSystemFiles)
    • isIgnoreHiddenFiles

      public boolean isIgnoreHiddenFiles()
    • setIgnoreHiddenFiles

      public void setIgnoreHiddenFiles(boolean ignoreHiddenFiles)
    • getIgnoredPatterns

      public List<String> getIgnoredPatterns()
    • setIgnoredPatterns

      public void setIgnoredPatterns(List<String> ignoredPatterns)
    • 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)