Class AmberscriptAttachTranscriptionOperationHandler

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

public class AmberscriptAttachTranscriptionOperationHandler 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
    setCaptionService(org.opencastproject.caption.api.CaptionService service)
     
    void
    setServiceRegistry(org.opencastproject.serviceregistry.api.ServiceRegistry serviceRegistry)
     
    void
    setTranscriptionService(org.opencastproject.transcription.api.TranscriptionService service)
     
    void
    setWorkspace(org.opencastproject.workspace.api.Workspace 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

    • AmberscriptAttachTranscriptionOperationHandler

      public AmberscriptAttachTranscriptionOperationHandler()
  • 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
    • setTranscriptionService

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

      public void setWorkspace(org.opencastproject.workspace.api.Workspace service)
    • setCaptionService

      public void setCaptionService(org.opencastproject.caption.api.CaptionService service)
    • setServiceRegistry

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