Class DuplicateEventWorkflowOperationHandler

java.lang.Object
org.opencastproject.workflow.api.AbstractWorkflowOperationHandler
org.opencastproject.workflow.handler.workflow.DuplicateEventWorkflowOperationHandler
All Implemented Interfaces:
WorkflowOperationHandler

public class DuplicateEventWorkflowOperationHandler extends AbstractWorkflowOperationHandler
This WOH duplicates an input event.
  • Field Details

    • 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:
    • 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:
    • TARGET_TAGS_PROPERTY

      public static final String TARGET_TAGS_PROPERTY
      Name of the configuration option that provides the target tags we should apply
      See Also:
    • NUMBER_PROPERTY

      public static final String NUMBER_PROPERTY
      Name of the configuration option that provides the number of events to create
      See Also:
    • MAX_NUMBER_PROPERTY

      public static final String MAX_NUMBER_PROPERTY
      Name of the configuration option that provides the maximum number of events to create
      See Also:
    • NO_SUFFIX

      public static final String NO_SUFFIX
      Whether to actually use the number suffix (makes sense in conjunction with "set-series-id"
      See Also:
    • SET_SERIES_ID

      public static final String SET_SERIES_ID
      The series ID that should be set on the copies (if unset, uses the same series)
      See Also:
    • SET_TITLE

      public static final String SET_TITLE
      The new title that should be set on the copies (if unset, uses the old title (copy-number-prefix))
      See Also:
    • SET_START_DATE

      public static final String SET_START_DATE
      The new startDate that should be set on the copies (if unset, uses the old startDate)
      See Also:
    • MAX_NUMBER_DEFAULT

      public static final int MAX_NUMBER_DEFAULT
      The default maximum number of events to create. Can be overridden.
      See Also:
    • PROPERTY_NAMESPACES_PROPERTY

      public static final String PROPERTY_NAMESPACES_PROPERTY
      The namespaces of the asset manager properties to copy.
      See Also:
    • COPY_NUMBER_PREFIX_PROPERTY

      public static final String COPY_NUMBER_PREFIX_PROPERTY
      The prefix to use for the number which is appended to the original title of the event.
      See Also:
    • distributionService

      protected DistributionService distributionService
      The distribution service
  • Constructor Details

    • DuplicateEventWorkflowOperationHandler

      public DuplicateEventWorkflowOperationHandler()
  • Method Details