Class MicrosoftAzureTranscriptionRestService
java.lang.Object
org.opencastproject.rest.AbstractJobProducerEndpoint
org.opencastproject.transcription.microsoft.azure.endpoint.MicrosoftAzureTranscriptionRestService
@Path("/transcripts/azure")
public class MicrosoftAzureTranscriptionRestService
extends org.opencastproject.rest.AbstractJobProducerEndpoint
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected MicrosoftAzureTranscriptionServiceThe transcription serviceprotected org.opencastproject.serviceregistry.api.ServiceRegistryThe service registry -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidactivate(org.osgi.service.component.ComponentContext cc) org.opencastproject.job.api.JobProducerorg.opencastproject.serviceregistry.api.ServiceRegistryvoidsetServiceRegistry(org.opencastproject.serviceregistry.api.ServiceRegistry service) voidMethods inherited from class org.opencastproject.rest.AbstractJobProducerEndpoint
checkHeartbeat, dispatchJob
-
Field Details
-
service
The transcription service -
serviceRegistry
protected org.opencastproject.serviceregistry.api.ServiceRegistry serviceRegistryThe service registry
-
-
Constructor Details
-
MicrosoftAzureTranscriptionRestService
public MicrosoftAzureTranscriptionRestService()
-
-
Method Details
-
activate
public void activate(org.osgi.service.component.ComponentContext cc) -
setTranscriptionService
-
setServiceRegistry
public void setServiceRegistry(org.opencastproject.serviceregistry.api.ServiceRegistry service) -
getService
public org.opencastproject.job.api.JobProducer getService()- Specified by:
getServicein classorg.opencastproject.rest.AbstractJobProducerEndpoint
-
getServiceRegistry
public org.opencastproject.serviceregistry.api.ServiceRegistry getServiceRegistry()- Specified by:
getServiceRegistryin classorg.opencastproject.rest.AbstractJobProducerEndpoint
-