Class IngestDownloadServiceRemoteImpl

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

public class IngestDownloadServiceRemoteImpl extends org.opencastproject.serviceregistry.api.RemoteBase implements org.opencastproject.ingestdownloadservice.api.IngestDownloadService
Remote implementation of the ingest download service
  • Nested Class Summary

    Nested classes/interfaces inherited from class org.opencastproject.serviceregistry.api.RemoteBase

    org.opencastproject.serviceregistry.api.RemoteBase.HttpClientClosingInputStream
  • Field Summary

    Fields inherited from class org.opencastproject.serviceregistry.api.RemoteBase

    client, elementsFromHttpResponse, remoteServiceManager, serviceType

    Fields inherited from interface org.opencastproject.ingestdownloadservice.api.IngestDownloadService

    JOB_TYPE
  • Constructor Summary

    Constructors
    Constructor
    Description
    Constructs a new ingest download service remote
  • Method Summary

    Modifier and Type
    Method
    Description
    org.opencastproject.job.api.Job
    ingestDownload(org.opencastproject.mediapackage.MediaPackage mediaPackage, String sourceFlavors, String sourceTags, boolean deleteExternal, boolean tagsAndFlavor)
     
    void
    setRemoteServiceManager(org.opencastproject.serviceregistry.api.ServiceRegistry serviceRegistry)
     
    void
    setTrustedHttpClient(org.opencastproject.security.api.TrustedHttpClient trustedHttpClient)
     

    Methods inherited from class org.opencastproject.serviceregistry.api.RemoteBase

    closeConnection, getResponse, getResponse, runRequest

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • IngestDownloadServiceRemoteImpl

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

    • ingestDownload

      public org.opencastproject.job.api.Job ingestDownload(org.opencastproject.mediapackage.MediaPackage mediaPackage, String sourceFlavors, String sourceTags, boolean deleteExternal, boolean tagsAndFlavor) throws org.opencastproject.serviceregistry.api.ServiceRegistryException
      Specified by:
      ingestDownload in interface org.opencastproject.ingestdownloadservice.api.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:
      org.opencastproject.serviceregistry.api.ServiceRegistryException
    • setTrustedHttpClient

      public void setTrustedHttpClient(org.opencastproject.security.api.TrustedHttpClient trustedHttpClient)
      Overrides:
      setTrustedHttpClient in class org.opencastproject.serviceregistry.api.RemoteBase
    • setRemoteServiceManager

      public void setRemoteServiceManager(org.opencastproject.serviceregistry.api.ServiceRegistry serviceRegistry)
      Overrides:
      setRemoteServiceManager in class org.opencastproject.serviceregistry.api.RemoteBase