Class TagWorkflowOperationHandler

  • All Implemented Interfaces:
    org.opencastproject.workflow.api.WorkflowOperationHandler

    public class TagWorkflowOperationHandler
    extends org.opencastproject.workflow.api.AbstractWorkflowOperationHandler
    Simple implementation that holds for user-entered trim points.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static String COPY_PROPERTY
      Name of the configuration option that provides the copy boolean we are looking for
      static String SOURCE_FLAVORS_PROPERTY
      Name of the configuration option that provides the source flavors we are looking for
      static String SOURCE_TAGS_PROPERTY
      Name of the configuration option that provides the source tags we are looking for
      static String TARGET_FLAVOR_PROPERTY
      Name of the configuration option that provides the target flavors we are looking for
      static String TARGET_TAGS_PROPERTY
      Name of the configuration option that provides the target tags we are looking for
      • Fields inherited from class org.opencastproject.workflow.api.AbstractWorkflowOperationHandler

        asList, description, id, serviceRegistry
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      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

        activate, asList, cfgKeyMissing, createResult, createResult, createResult, createResult, destroy, equals, getCfg, getConfig, getConfig, getConfig, getDescription, getFileNameFromElements, getId, getOptConfig, getOptConfig, hashCode, setJobBarrierPollingInterval, setServiceRegistry, skip, toString, waitForStatus, waitForStatus
    • Field Detail

      • SOURCE_FLAVORS_PROPERTY

        public static final String SOURCE_FLAVORS_PROPERTY
        Name of the configuration option that provides the source flavors we are looking for
        See Also:
        Constant Field Values
      • SOURCE_TAGS_PROPERTY

        public static final String SOURCE_TAGS_PROPERTY
        Name of the configuration option that provides the source tags we are looking for
        See Also:
        Constant Field Values
      • TARGET_FLAVOR_PROPERTY

        public static final String TARGET_FLAVOR_PROPERTY
        Name of the configuration option that provides the target flavors we are looking for
        See Also:
        Constant Field Values
      • TARGET_TAGS_PROPERTY

        public static final String TARGET_TAGS_PROPERTY
        Name of the configuration option that provides the target tags we are looking for
        See Also:
        Constant Field Values
      • COPY_PROPERTY

        public static final String COPY_PROPERTY
        Name of the configuration option that provides the copy boolean we are looking for
        See Also:
        Constant Field Values
    • Constructor Detail

      • TagWorkflowOperationHandler

        public TagWorkflowOperationHandler()
    • Method Detail

      • 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)