Class BackupRestoreResponse
java.lang.Object
com.morpheusdata.core.backup.response.BackupRestoreResponse
Response from the execution of the backup restore containing relevant information on the results of the restore process.
- Since:
- 0.13.4
-
Field Summary
Modifier and TypeFieldDescriptionprotected BackupRestore
BackupRestore
containing data on the results of the restore executionprotected Map
Any configurations that are needed later in the restore process.protected boolean
Notify receiver of updates available on the backupRestore -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionget the associatedBackupRestore
get the restoreConfigboolean
are there updates available on the associatedBackupRestore
void
setBackupRestore
(BackupRestore backupRestore) set the associatedBackupRestore
void
setRestoreConfig
(Map restoreConfig) set the restoreConfigvoid
setUpdates
(boolean updates) Notify receiver of updates available on the associatedBackupRestore
-
Field Details
-
updates
protected boolean updatesNotify receiver of updates available on the backupRestore -
backupRestore
BackupRestore
containing data on the results of the restore execution -
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
-
-
Method Details
-
isUpdates
public boolean isUpdates()are there updates available on the associatedBackupRestore
- Returns:
- Boolean updates available on the backupRestore object
-
setUpdates
public void setUpdates(boolean updates) Notify receiver of updates available on the associatedBackupRestore
- Parameters:
updates
- are there updates available in the associatedBackupRestore
-
getBackupRestore
get the associatedBackupRestore
- Returns:
BackupRestore
with associated data from the backup restore process
-
setBackupRestore
set the associatedBackupRestore
- Parameters:
backupRestore
- theBackupRestore
to set on the response
-
getRestoreConfig
get the restoreConfig- Returns:
- Map the restoreConfig
-
setRestoreConfig
set the restoreConfig- Parameters:
restoreConfig
- restoreConfig to set on the response
-