Class BackupRestoreResponse

java.lang.Object
com.morpheusdata.core.backup.response.BackupRestoreResponse

public class BackupRestoreResponse extends Object
Response from the execution of the backup restore containing relevant information on the results of the restore process.
Since:
0.13.4
  • Field Details

    • updates

      protected boolean updates
      Notify receiver of updates available on the backupRestore
    • backupRestore

      protected BackupRestore backupRestore
      BackupRestore containing data on the results of the restore execution
    • restoreConfig

      protected Map restoreConfig
      Any configurations that are needed later in the restore process. The primary intention is to pass information to the restore refresh process which executes periodically until the restore process has completed.
  • Constructor Details

    • BackupRestoreResponse

      public BackupRestoreResponse(BackupRestore backupRestore)
  • Method Details

    • isUpdates

      public boolean isUpdates()
      are there updates available on the associated BackupRestore
      Returns:
      Boolean updates available on the backupRestore object
    • setUpdates

      public void setUpdates(boolean updates)
      Notify receiver of updates available on the associated BackupRestore
      Parameters:
      updates - are there updates available in the associated BackupRestore
    • getBackupRestore

      public BackupRestore getBackupRestore()
      get the associated BackupRestore
      Returns:
      BackupRestore with associated data from the backup restore process
    • setBackupRestore

      public void setBackupRestore(BackupRestore backupRestore)
      set the associated BackupRestore
      Parameters:
      backupRestore - the BackupRestore to set on the response
    • getRestoreConfig

      public Map getRestoreConfig()
      get the restoreConfig
      Returns:
      Map the restoreConfig
    • setRestoreConfig

      public void setRestoreConfig(Map restoreConfig)
      set the restoreConfig
      Parameters:
      restoreConfig - restoreConfig to set on the response