Class BackupInfo

java.lang.Object
org.kingdoms.managers.BackupInfo

public class BackupInfo extends Object
  • Field Details

  • Constructor Details

    • BackupInfo

      public BackupInfo(Path root, boolean isDirectRestore, boolean replaceExisting)
  • Method Details

    • getRoot

      public Path getRoot()
    • isDirectRestore

      public boolean isDirectRestore()
    • replaceExisting

      public boolean replaceExisting()
    • putFile

      public void putFile(ZipFile zipFile, ZipEntry entry)
    • registerRestorer

      public void registerRestorer(String entryName, Consumer<BackupInfo.BackupFile> restorer)