Class GoogleSpeechStartTranscriptionOperationHandler

java.lang.Object
org.opencastproject.workflow.api.AbstractWorkflowOperationHandler
org.opencastproject.transcription.workflowoperation.GoogleSpeechStartTranscriptionOperationHandler
All Implemented Interfaces:
org.opencastproject.workflow.api.WorkflowOperationHandler

public class GoogleSpeechStartTranscriptionOperationHandler extends org.opencastproject.workflow.api.AbstractWorkflowOperationHandler
  • Nested Class Summary

    Nested classes/interfaces inherited from class org.opencastproject.workflow.api.AbstractWorkflowOperationHandler

    org.opencastproject.workflow.api.AbstractWorkflowOperationHandler.Configuration
  • Field Summary

    Fields inherited from class org.opencastproject.workflow.api.AbstractWorkflowOperationHandler

    description, id, serviceRegistry, SOURCE_FLAVOR, SOURCE_FLAVORS, SOURCE_TAG, SOURCE_TAGS, TARGET_FLAVOR, TARGET_FLAVORS, TARGET_TAG, TARGET_TAGS
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected void
    activate(org.osgi.service.component.ComponentContext cc)
     
    void
    setServiceRegistry(org.opencastproject.serviceregistry.api.ServiceRegistry serviceRegistry)
     
    void
    setTranscriptionService(org.opencastproject.transcription.api.TranscriptionService service)
     
    org.opencastproject.workflow.api.WorkflowOperationResult
    start(org.opencastproject.workflow.api.WorkflowInstance workflowInstance, org.opencastproject.job.api.JobContext context)

    Methods inherited from class org.opencastproject.workflow.api.AbstractWorkflowOperationHandler

    applyTargetTagsToElement, asList, createResult, createResult, createResult, createResult, destroy, equals, getCfg, getConfig, getConfig, getConfig, getDescription, getFileNameFromElements, getId, getOptConfig, getOptConfig, getTagsAndFlavors, hashCode, setJobBarrierPollingInterval, skip, toString, waitForStatus, waitForStatus

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • GoogleSpeechStartTranscriptionOperationHandler

      public GoogleSpeechStartTranscriptionOperationHandler()
  • Method Details

    • activate

      protected void activate(org.osgi.service.component.ComponentContext cc)
      Overrides:
      activate in class org.opencastproject.workflow.api.AbstractWorkflowOperationHandler
    • start

      public org.opencastproject.workflow.api.WorkflowOperationResult start(org.opencastproject.workflow.api.WorkflowInstance workflowInstance, org.opencastproject.job.api.JobContext context) throws org.opencastproject.workflow.api.WorkflowOperationException
      Specified by:
      start in interface org.opencastproject.workflow.api.WorkflowOperationHandler
      Specified by:
      start in class org.opencastproject.workflow.api.AbstractWorkflowOperationHandler
      Throws:
      org.opencastproject.workflow.api.WorkflowOperationException
      See Also:
      • WorkflowOperationHandler.start(org.opencastproject.workflow.api.WorkflowInstance, JobContext)
    • setTranscriptionService

      public void setTranscriptionService(org.opencastproject.transcription.api.TranscriptionService service)
    • setServiceRegistry

      public void setServiceRegistry(org.opencastproject.serviceregistry.api.ServiceRegistry serviceRegistry)
      Overrides:
      setServiceRegistry in class org.opencastproject.workflow.api.AbstractWorkflowOperationHandler