Interface MorpheusBackupProviderService

All Superinterfaces:
MorpheusDataService<BackupProvider,BackupProvider>

public interface MorpheusBackupProviderService extends MorpheusDataService<BackupProvider,BackupProvider>
Context methods for interacting with BackupProvider in Morpheus. A backup provider is the primary integration point between morpheus and an external service.
Since:
0.13.4
  • Method Details

    • getType

      Returns the MorpheusBackupProviderTypeContext used for performing updates/queries on BackupProviderType related assets within Morpheus.
      Returns:
      An instance of the BackupProviderTypeContext to be used for calls by various backup providers
    • listById

      @Deprecated(since="0.15.4") io.reactivex.rxjava3.core.Observable<BackupProvider> listById(Collection<Long> ids)
      Deprecated.
      Lists all BackupProvider objects by a list of Identifiers. This is commonly used in sync / caching logic.
      Parameters:
      ids - list of BackupProvider ids to fetch.
      Returns:
      an RxJava Observable stream of BackupProvider objects for subscription.
    • updateStatus

      io.reactivex.rxjava3.core.Single<Boolean> updateStatus(BackupProvider backupProvider, String status, String message)
      Save a status update to a backup provider
      Parameters:
      backupProvider - backup provider to update
      status - status to be set on the backup provider
      message - additional context for the current status. Useful in the case of adding details for an error or warning status.
      Returns:
      success