getBackupStorage

Retrieves the CloudStorageAdapter associated with the specified backup method.

This function looks up the provided method in the backupOptions map. If a corresponding CloudStorageAdapter is found, it is returned. Otherwise, null is returned.

Return

The CloudStorageAdapter associated with the specified method, or null if no adapter is found.

Parameters

method

The BackupMethods representing the desired backup method (e.g., GOOGLE_DRIVE, DROPBOX).

See also