Class ConfigureByDublinCoreTermWOH

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

    public class ConfigureByDublinCoreTermWOH
    extends ResumableWorkflowOperationHandlerBase
    Take look in specified catalog for specified term, if the value matches the specified value add the target-tags
    • Field Detail

      • DCCATALOG_PROPERTY

        public static final String DCCATALOG_PROPERTY
        Name of the configuration option that provides the catalog to examine
        See Also:
        Constant Field Values
      • DCTERM_PROPERTY

        public static final String DCTERM_PROPERTY
        Name of the configuration option that provides Dublin Core term/element
        See Also:
        Constant Field Values
      • DEFAULT_VALUE_PROPERTY

        public static final String DEFAULT_VALUE_PROPERTY
        Name of the configuration option that provides term's default value if not present
        See Also:
        Constant Field Values
      • MATCH_VALUE_PROPERTY

        public static final String MATCH_VALUE_PROPERTY
        Name of the configuration option that provides value to match
        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

      • ConfigureByDublinCoreTermWOH

        public ConfigureByDublinCoreTermWOH()
    • Method Detail

      • setWorkspace

        public void setWorkspace​(org.opencastproject.workspace.api.Workspace workspace)
        Callback for declarative services configuration that will introduce us to the local workspace service. Implementation assumes that the reference is configured as being static.
        Parameters:
        workspace - an instance of the workspace
      • 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
        This default implementation will put the workflow into the hold state.
        Specified by:
        start in interface org.opencastproject.workflow.api.WorkflowOperationHandler
        Overrides:
        start in class ResumableWorkflowOperationHandlerBase
        Throws:
        org.opencastproject.workflow.api.WorkflowOperationException
        See Also:
        WorkflowOperationHandler.start(org.opencastproject.workflow.api.WorkflowInstance, JobContext)