Class AmberscriptTranscriptionRestService
java.lang.Object
org.opencastproject.rest.AbstractJobProducerEndpoint
org.opencastproject.transcription.amberscript.endpoint.AmberscriptTranscriptionRestService
@Path("/transcripts/amberscript")
public class AmberscriptTranscriptionRestService
extends org.opencastproject.rest.AbstractJobProducerEndpoint
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected AmberscriptTranscriptionServiceThe transcription serviceprotected org.opencastproject.serviceregistry.api.ServiceRegistryThe service registryprotected org.opencastproject.workingfilerepository.api.WorkingFileRepositoryThe WFR -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidactivate()org.opencastproject.job.api.JobProducerorg.opencastproject.serviceregistry.api.ServiceRegistryvoidsetServiceRegistry(org.opencastproject.serviceregistry.api.ServiceRegistry service) voidvoidsetWorkingFileRepository(org.opencastproject.workingfilerepository.api.WorkingFileRepository wfr) Methods 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 -
wfr
protected org.opencastproject.workingfilerepository.api.WorkingFileRepository wfrThe WFR
-
-
Constructor Details
-
AmberscriptTranscriptionRestService
public AmberscriptTranscriptionRestService()
-
-
Method Details
-
activate
public void activate() -
setTranscriptionService
-
setServiceRegistry
public void setServiceRegistry(org.opencastproject.serviceregistry.api.ServiceRegistry service) -
setWorkingFileRepository
public void setWorkingFileRepository(org.opencastproject.workingfilerepository.api.WorkingFileRepository wfr) -
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
-