Class MicrosoftAzureTranscriptionRestService
java.lang.Object
org.opencastproject.rest.AbstractJobProducerEndpoint
org.opencastproject.transcription.microsoft.azure.endpoint.MicrosoftAzureTranscriptionRestService
@Path("/transcripts/azure")
public class MicrosoftAzureTranscriptionRestService
extends AbstractJobProducerEndpoint
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected MicrosoftAzureTranscriptionServiceThe transcription serviceprotected ServiceRegistryThe service registry -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidactivate(org.osgi.service.component.ComponentContext cc) Returns the job producer that is backing this REST endpoint.Return the service registry.voidsetServiceRegistry(ServiceRegistry service) voidMethods inherited from class org.opencastproject.rest.AbstractJobProducerEndpoint
checkHeartbeat, dispatchJob
-
Field Details
-
service
The transcription service -
serviceRegistry
The service registry
-
-
Constructor Details
-
MicrosoftAzureTranscriptionRestService
public MicrosoftAzureTranscriptionRestService()
-
-
Method Details
-
activate
public void activate(org.osgi.service.component.ComponentContext cc) -
setTranscriptionService
-
setServiceRegistry
-
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
-