Interface StructureBackupManager


public interface StructureBackupManager

The backup manager is responsible for backup and restore of the structure data. You use it by creating an instance of a corresponding operation (for example, BackupOperation, setting up the parameters and running the job.

Only Structure plugin's data is saved and restored.

This manager does not check permissions of the current user. If operation is started by the user, the calling code should check for permissions on its own.

Author:
Igor Sereda
  • Method Summary

    Modifier and Type
    Method
    Description
    Creates an instance of backup operation.
    Creates an instance of restore operation.
  • Method Details

    • backup

      @NotNull BackupOperation backup()
      Creates an instance of backup operation.
      Returns:
      backup operation
    • restore

      @NotNull RestoreOperation restore()
      Creates an instance of restore operation.
      Returns:
      restore operation