Class IngestDownloadServiceEndpoint
java.lang.Object
org.opencastproject.rest.AbstractJobProducerEndpoint
org.opencastproject.ingestdownloadservice.impl.endpoint.IngestDownloadServiceEndpoint
@Path("/ingestdownload")
public class IngestDownloadServiceEndpoint
extends org.opencastproject.rest.AbstractJobProducerEndpoint
The REST endpoint for the
IngestDownloadService service-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.opencastproject.job.api.JobProducerorg.opencastproject.serviceregistry.api.ServiceRegistryjavax.ws.rs.core.Responseingestdownload(String mediapackageString, String sourceFlavors, String sourceTags, String deleteExternal, String tagsAndFlavor) voidsetIngestDownloadService(org.opencastproject.ingestdownloadservice.api.IngestDownloadService service) protected voidsetServiceRegistry(org.opencastproject.serviceregistry.api.ServiceRegistry serviceRegistry) Callback from the OSGi declarative services to set the service registry.Methods inherited from class org.opencastproject.rest.AbstractJobProducerEndpoint
checkHeartbeat, dispatchJob
-
Constructor Details
-
IngestDownloadServiceEndpoint
public IngestDownloadServiceEndpoint()
-
-
Method Details
-
ingestdownload
@POST @Path("ingestdownload") @Produces("text/xml") public javax.ws.rs.core.Response ingestdownload(@FormParam("mediapackage") String mediapackageString, @FormParam("sourceFlavors") String sourceFlavors, @FormParam("sourceTags") String sourceTags, @FormParam("deleteExternal") String deleteExternal, @FormParam("tagsAndFlavor") String tagsAndFlavor) throws Exception - Throws:
Exception
-
setIngestDownloadService
public void setIngestDownloadService(org.opencastproject.ingestdownloadservice.api.IngestDownloadService service) -
getService
public org.opencastproject.job.api.JobProducer getService()- Specified by:
getServicein classorg.opencastproject.rest.AbstractJobProducerEndpoint
-
getServiceRegistry
public org.opencastproject.serviceregistry.api.ServiceRegistry getServiceRegistry()- Specified by:
getServiceRegistryin classorg.opencastproject.rest.AbstractJobProducerEndpoint- See Also:
-
setServiceRegistry
protected void setServiceRegistry(org.opencastproject.serviceregistry.api.ServiceRegistry serviceRegistry) Callback from the OSGi declarative services to set the service registry.- Parameters:
serviceRegistry- the service registry
-