Class WaveformServiceEndpoint
java.lang.Object
org.opencastproject.rest.AbstractJobProducerEndpoint
org.opencastproject.waveform.endpoint.WaveformServiceEndpoint
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionjavax.ws.rs.core.ResponsecreateWaveformImage(String track, int pixelsPerMinute, int minWidth, int maxWidth, int height, String color) Returns the job producer that is backing this REST endpoint.Return the service registry.voidsetServiceRegistry(ServiceRegistry serviceRegistry) voidsetWaveformService(WaveformService waveformService) Methods inherited from class org.opencastproject.rest.AbstractJobProducerEndpoint
checkHeartbeat, dispatchJob
-
Constructor Details
-
WaveformServiceEndpoint
public WaveformServiceEndpoint()
-
-
Method Details
-
createWaveformImage
@POST @Path("/create") @Produces("application/xml") public javax.ws.rs.core.Response createWaveformImage(@FormParam("track") String track, @FormParam("pixelsPerMinute") int pixelsPerMinute, @FormParam("minWidth") int minWidth, @FormParam("maxWidth") int maxWidth, @FormParam("height") int height, @FormParam("color") String color) -
getService
Description copied from class:AbstractJobProducerEndpointReturns the job producer that is backing this REST endpoint.- Specified by:
getServicein classAbstractJobProducerEndpoint- Returns:
- the job producer
-
getServiceRegistry
Description copied from class:AbstractJobProducerEndpointReturn the service registry.- Specified by:
getServiceRegistryin classAbstractJobProducerEndpoint
-
setServiceRegistry
-
setWaveformService
-