Class IngestDownloadServiceRemoteImpl

java.lang.Object
org.opencastproject.serviceregistry.api.RemoteBase
org.opencastproject.ingestdownloadservice.remote.IngestDownloadServiceRemoteImpl
All Implemented Interfaces:
IngestDownloadService

public class IngestDownloadServiceRemoteImpl extends RemoteBase implements IngestDownloadService
Remote implementation of the ingest download service
  • Constructor Details

    • IngestDownloadServiceRemoteImpl

      public IngestDownloadServiceRemoteImpl()
      Constructs a new ingest download service remote
  • Method Details

    • ingestDownload

      public Job ingestDownload(MediaPackage mediaPackage, String sourceFlavors, String sourceTags, boolean deleteExternal, boolean tagsAndFlavor) throws ServiceRegistryException
      Specified by:
      ingestDownload in interface IngestDownloadService
      Parameters:
      mediaPackage - The media package to download elements from
      sourceFlavors - Flavors identifying elements to download
      sourceTags - Tags identifying elements to download
      deleteExternal - If the service should try to delete external elements after downloading
      tagsAndFlavor - If elements are selected based on a union or an interjection of the sets selected by tags and flavors
      Returns:
      The launched job
      Throws:
      ServiceRegistryException - If starting the job failed
    • setTrustedHttpClient

      public void setTrustedHttpClient(TrustedHttpClient trustedHttpClient)
      Description copied from class: RemoteBase
      Sets the trusted http client
      Overrides:
      setTrustedHttpClient in class RemoteBase
      Parameters:
      trustedHttpClient -
    • setRemoteServiceManager

      public void setRemoteServiceManager(ServiceRegistry serviceRegistry)
      Description copied from class: RemoteBase
      Sets the remote service manager.
      Overrides:
      setRemoteServiceManager in class RemoteBase
      Parameters:
      serviceRegistry -