Class IngestDownloadServiceEndpoint
java.lang.Object
org.opencastproject.rest.AbstractJobProducerEndpoint
org.opencastproject.ingestdownloadservice.impl.endpoint.IngestDownloadServiceEndpoint
@Path("/ingestdownload")
public class IngestDownloadServiceEndpoint
extends AbstractJobProducerEndpoint
The REST endpoint for the
IngestDownloadService service-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the job producer that is backing this REST endpoint.Return the service registry.javax.ws.rs.core.Responseingestdownload(String mediapackageString, String sourceFlavors, String sourceTags, String deleteExternal, String tagsAndFlavor) voidprotected voidsetServiceRegistry(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
-
getService
Description copied from class:AbstractJobProducerEndpointReturns the job producer that is backing this REST endpoint.- Specified by:
getServicein classAbstractJobProducerEndpoint- Returns:
- the job producer
-
getServiceRegistry
Return the service registry.- Specified by:
getServiceRegistryin classAbstractJobProducerEndpoint- See Also:
-
setServiceRegistry
Callback from the OSGi declarative services to set the service registry.- Parameters:
serviceRegistry- the service registry
-