Class MediaTranscriptionCapabilityRegistry
java.lang.Object
org.exoplatform.documents.service.MediaTranscriptionCapabilityRegistry
Where a transcription engine says it is installed (EXO-92097). Documents is
community code and the transcriber an enterprise one, booting after it: the
transcriber registers itself here when it starts, and the transcript
affordances (the state, the transcript tab, the retry) show only while one is
registered.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanTells whether media files can be transcribed on this server.voidRecords that a transcription engine is installed.voidunregister(String transcriberId) Records that a transcription engine is no longer installed.
-
Constructor Details
-
MediaTranscriptionCapabilityRegistry
public MediaTranscriptionCapabilityRegistry()
-
-
Method Details
-
register
Records that a transcription engine is installed.- Parameters:
transcriberId- a name for the engine
-
unregister
Records that a transcription engine is no longer installed.- Parameters:
transcriberId- the name it registered with
-
isAvailable
public boolean isAvailable()Tells whether media files can be transcribed on this server.- Returns:
- true when a transcription engine is registered
-