Interface BackupSyncTarget

All Known Implementing Classes:
BackupSyncTarget.Noop

public interface BackupSyncTarget
Framework-side sync capability hook: invoked with the new backup artifacts after a EditorAutoBackupService.backupNow() completion.

Implementations must upload/copy the files to their target. A throwing implementation is isolated: the backup result is never corrupted by a target failure (the runtime records the failure and continues).

  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static enum 
     
  • Method Summary

    Modifier and Type
    Method
    Description
    Default no-op target; useful for tests and opt-out configurations.
    void
    sync(List<File> newBackupFiles)
    Uploads or otherwise syncs the newly produced backup files.
  • Method Details

    • sync

      void sync(List<File> newBackupFiles)
      Uploads or otherwise syncs the newly produced backup files.
      Parameters:
      newBackupFiles - non-empty, size-greater-than-zero backup artifacts produced by the completed backup run
    • noop

      static BackupSyncTarget noop()
      Default no-op target; useful for tests and opt-out configurations.