Class AmberscriptTranscriptionRestService
java.lang.Object
org.opencastproject.rest.AbstractJobProducerEndpoint
org.opencastproject.transcription.amberscript.endpoint.AmberscriptTranscriptionRestService
@Path("/transcripts/amberscript")
public class AmberscriptTranscriptionRestService
extends AbstractJobProducerEndpoint
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected AmberscriptTranscriptionServiceThe transcription serviceprotected ServiceRegistryThe service registryprotected WorkingFileRepositoryThe WFR -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidactivate()Returns the job producer that is backing this REST endpoint.Return the service registry.voidsetServiceRegistry(ServiceRegistry service) voidvoidMethods inherited from class org.opencastproject.rest.AbstractJobProducerEndpoint
checkHeartbeat, dispatchJob
-
Field Details
-
service
The transcription service -
serviceRegistry
The service registry -
wfr
The WFR
-
-
Constructor Details
-
AmberscriptTranscriptionRestService
public AmberscriptTranscriptionRestService()
-
-
Method Details
-
activate
public void activate() -
setTranscriptionService
-
setServiceRegistry
-
setWorkingFileRepository
-
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
-