public class CopyWorkflowOperationHandler
extends org.opencastproject.workflow.api.AbstractWorkflowOperationHandler
| Modifier and Type | Field and Description |
|---|---|
static String |
OPT_SOURCE_FLAVORS
Configuration key for the \"flavor\" of the track to use as a source input
|
static String |
OPT_SOURCE_TAGS
Configuration key for the \"tag\" of the track to use as a source input
|
static String |
OPT_TARGET_DIRECTORY
Configuration key for the directory where the file must be delivered
|
static String |
OPT_TARGET_FILENAME
Configuration key for the name of the target file
|
protected org.opencastproject.workspace.api.Workspace |
workspace
The workspace reference
|
| Constructor and Description |
|---|
CopyWorkflowOperationHandler() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
setWorkspace(org.opencastproject.workspace.api.Workspace workspace)
Callback for the OSGi environment to set the workspace reference.
|
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, destroy, equals, getCfg, getConfig, getConfig, getConfig, getDescription, getFileNameFromElements, getId, getOptConfig, getOptConfig, hashCode, setJobBarrierPollingInterval, setServiceRegistry, skip, toString, waitForStatus, waitForStatuspublic static final String OPT_SOURCE_TAGS
public static final String OPT_SOURCE_FLAVORS
public static final String OPT_TARGET_DIRECTORY
public static final String OPT_TARGET_FILENAME
protected org.opencastproject.workspace.api.Workspace workspace
protected void setWorkspace(org.opencastproject.workspace.api.Workspace workspace)
workspace - the workspacepublic 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–2021 Opencast Project. All rights reserved.