public class DuplicateEventWorkflowOperationHandler
extends org.opencastproject.workflow.api.AbstractWorkflowOperationHandler
| Modifier and Type | Field and Description |
|---|---|
static String |
COPY_NUMBER_PREFIX_PROPERTY
The prefix to use for the number which is appended to the original title of the event.
|
protected org.opencastproject.distribution.api.DistributionService |
distributionService
The distribution service
|
static int |
MAX_NUMBER_DEFAULT
The default maximum number of events to create.
|
static String |
MAX_NUMBER_PROPERTY
Name of the configuration option that provides the maximum number of events to create
|
static String |
NUMBER_PROPERTY
Name of the configuration option that provides the number of events to create
|
static String |
PROPERTY_NAMESPACES_PROPERTY
The namespaces of the asset manager properties to copy.
|
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_TAGS_PROPERTY
Name of the configuration option that provides the target tags we should apply
|
protected org.opencastproject.workspace.api.Workspace |
workspace
The workspace to use for retrieving and storing files.
|
| Constructor and Description |
|---|
DuplicateEventWorkflowOperationHandler() |
| Modifier and Type | Method and Description |
|---|---|
void |
setAssetManager(org.opencastproject.assetmanager.api.AssetManager assetManager)
Callback for the OSGi declarative services configuration.
|
void |
setDistributionService(org.opencastproject.distribution.api.DistributionService distributionService)
Callback for the OSGi declarative services configuration.
|
void |
setWorkspace(org.opencastproject.workspace.api.Workspace workspace)
Callback for the OSGi declarative services configuration.
|
org.opencastproject.workflow.api.WorkflowOperationResult |
start(org.opencastproject.workflow.api.WorkflowInstance workflowInstance,
org.opencastproject.job.api.JobContext context) |
activate, asList, cfgKeyMissing, createResult, createResult, createResult, createResult, createResult, destroy, equals, getCfg, getConfig, getConfig, getConfig, getDescription, getFileNameFromElements, getId, getOptConfig, getOptConfig, hashCode, setJobBarrierPollingInterval, setServiceRegistry, skip, toString, waitForStatus, waitForStatuspublic static final String SOURCE_FLAVORS_PROPERTY
public static final String SOURCE_TAGS_PROPERTY
public static final String TARGET_TAGS_PROPERTY
public static final String NUMBER_PROPERTY
public static final String MAX_NUMBER_PROPERTY
public static final int MAX_NUMBER_DEFAULT
public static final String PROPERTY_NAMESPACES_PROPERTY
public static final String COPY_NUMBER_PREFIX_PROPERTY
protected org.opencastproject.workspace.api.Workspace workspace
protected org.opencastproject.distribution.api.DistributionService distributionService
public DuplicateEventWorkflowOperationHandler()
public void setAssetManager(org.opencastproject.assetmanager.api.AssetManager assetManager)
assetManager - the asset managerpublic void setWorkspace(org.opencastproject.workspace.api.Workspace workspace)
workspace - the workspacepublic void setDistributionService(org.opencastproject.distribution.api.DistributionService distributionService)
distributionService - the distributionService to setpublic org.opencastproject.workflow.api.WorkflowOperationResult start(org.opencastproject.workflow.api.WorkflowInstance workflowInstance,
org.opencastproject.job.api.JobContext context)
throws org.opencastproject.workflow.api.WorkflowOperationException
start in interface org.opencastproject.workflow.api.WorkflowOperationHandlerstart in class org.opencastproject.workflow.api.AbstractWorkflowOperationHandlerorg.opencastproject.workflow.api.WorkflowOperationExceptionCopyright © 2009–2020 Opencast Project. All rights reserved.