Class AnimateServiceRestEndpoint
- java.lang.Object
-
- org.opencastproject.rest.AbstractJobProducerEndpoint
-
- org.opencastproject.animate.impl.endpoint.AnimateServiceRestEndpoint
-
@Path("/") public class AnimateServiceRestEndpoint extends org.opencastproject.rest.AbstractJobProducerEndpointA service endpoint to expose theAnimateServicevia REST.
-
-
Constructor Summary
Constructors Constructor Description AnimateServiceRestEndpoint()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description javax.ws.rs.core.Responseanimate(String animation, String argumentsString, String metadataString)org.opencastproject.job.api.JobProducergetService()org.opencastproject.serviceregistry.api.ServiceRegistrygetServiceRegistry()voidsetAnimateService(org.opencastproject.animate.api.AnimateService animateService)Sets the animate serviceprotected voidsetServiceRegistry(org.opencastproject.serviceregistry.api.ServiceRegistry serviceRegistry)Callback from the OSGi declarative services to set the service registry.
-
-
-
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:
getServicein classorg.opencastproject.rest.AbstractJobProducerEndpoint- See Also:
AbstractJobProducerEndpoint.getService()
-
getServiceRegistry
public org.opencastproject.serviceregistry.api.ServiceRegistry getServiceRegistry()
- Specified by:
getServiceRegistryin classorg.opencastproject.rest.AbstractJobProducerEndpoint- See Also:
AbstractJobProducerEndpoint.getServiceRegistry()
-
-