Class VideoGridServiceEndpoint

java.lang.Object
org.opencastproject.rest.AbstractJobProducerEndpoint
org.opencastproject.videogrid.endpoint.VideoGridServiceEndpoint

@Path("/videogrid") public class VideoGridServiceEndpoint extends org.opencastproject.rest.AbstractJobProducerEndpoint
A service endpoint to expose the VideoGridService via REST.
  • Constructor Details

    • VideoGridServiceEndpoint

      public VideoGridServiceEndpoint()
  • Method Details

    • 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
    • setVideoGridService

      public void setVideoGridService(org.opencastproject.videogrid.api.VideoGridService videoGridService)
      Sets the videoGridService
      Parameters:
      videoGridService - the videoGridService
    • createPartialTrack

      @POST @Produces("text/xml") @Path("videogrid") public javax.ws.rs.core.Response createPartialTrack(@FormParam("command") String commandString, @FormParam("sourceTracks") String tracksXml) throws org.opencastproject.mediapackage.MediaPackageException, org.apache.commons.codec.EncoderException
      Throws:
      org.opencastproject.mediapackage.MediaPackageException
      org.apache.commons.codec.EncoderException
    • getService

      public org.opencastproject.job.api.JobProducer getService()
      Specified by:
      getService in class org.opencastproject.rest.AbstractJobProducerEndpoint
      See Also:
      • AbstractJobProducerEndpoint.getService()
    • getServiceRegistry

      public org.opencastproject.serviceregistry.api.ServiceRegistry getServiceRegistry()
      Specified by:
      getServiceRegistry in class org.opencastproject.rest.AbstractJobProducerEndpoint
      See Also:
      • AbstractJobProducerEndpoint.getServiceRegistry()