Class AnimateServiceRestEndpoint


  • @Path("/")
    public class AnimateServiceRestEndpoint
    extends org.opencastproject.rest.AbstractJobProducerEndpoint
    A service endpoint to expose the AnimateService via REST.
    • Constructor Detail

      • AnimateServiceRestEndpoint

        public AnimateServiceRestEndpoint()
    • Method Detail

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

        public void setAnimateService​(org.opencastproject.animate.api.AnimateService animateService)
        Sets the animate service
        Parameters:
        animateService - the animate service
      • animate

        @POST
        @Produces("text/xml")
        @Path("animate")
        public javax.ws.rs.core.Response animate​(@FormParam("animation")
                                                 String animation,
                                                 @FormParam("arguments")
                                                 String argumentsString,
                                                 @FormParam("metadata")
                                                 String metadataString)
      • 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()