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 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:
      getService in class org.opencastproject.rest.AbstractJobProducerEndpoint
    • getServiceRegistry

      public org.opencastproject.serviceregistry.api.ServiceRegistry getServiceRegistry()
      Specified by:
      getServiceRegistry in class org.opencastproject.rest.AbstractJobProducerEndpoint
      See Also:
      • AbstractJobProducerEndpoint.getServiceRegistry()
    • 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