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, remoteServiceManager, serviceTypeFields inherited from interface org.opencastproject.ingestdownloadservice.api.IngestDownloadService
JOB_TYPE -
Constructor Summary
ConstructorsConstructorDescriptionConstructs a new ingest download service remote -
Method Summary
Modifier and TypeMethodDescriptionorg.opencastproject.job.api.JobingestDownload(org.opencastproject.mediapackage.MediaPackage mediaPackage, String sourceFlavors, String sourceTags, boolean deleteExternal, boolean tagsAndFlavor) voidsetRemoteServiceManager(org.opencastproject.serviceregistry.api.ServiceRegistry serviceRegistry) voidsetTrustedHttpClient(org.opencastproject.security.api.TrustedHttpClient trustedHttpClient) Methods inherited from class org.opencastproject.serviceregistry.api.RemoteBase
closeConnection, elementsFromHttpResponse, getResponse, getResponse, runRequest
-
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:
ingestDownloadin interfaceorg.opencastproject.ingestdownloadservice.api.IngestDownloadService- Parameters:
mediaPackage- The media package to download elements fromsourceFlavors- Flavors identifying elements to downloadsourceTags- Tags identifying elements to downloaddeleteExternal- If the service should try to delete external elements after downloadingtagsAndFlavor- 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:
setTrustedHttpClientin classorg.opencastproject.serviceregistry.api.RemoteBase
-
setRemoteServiceManager
public void setRemoteServiceManager(org.opencastproject.serviceregistry.api.ServiceRegistry serviceRegistry) - Overrides:
setRemoteServiceManagerin classorg.opencastproject.serviceregistry.api.RemoteBase
-