Class CopyWorkflowOperationHandler
- java.lang.Object
-
- org.opencastproject.workflow.api.AbstractWorkflowOperationHandler
-
- org.opencastproject.workflow.handler.workflow.CopyWorkflowOperationHandler
-
- All Implemented Interfaces:
org.opencastproject.workflow.api.WorkflowOperationHandler
public class CopyWorkflowOperationHandler extends org.opencastproject.workflow.api.AbstractWorkflowOperationHandlerWorkflow operation handler for copying video data through NFS
-
-
Field Summary
Fields Modifier and Type Field Description static StringOPT_SOURCE_FLAVORSConfiguration key for the \"flavor\" of the track to use as a source inputstatic StringOPT_SOURCE_TAGSConfiguration key for the \"tag\" of the track to use as a source inputstatic StringOPT_TARGET_DIRECTORYConfiguration key for the directory where the file must be deliveredstatic StringOPT_TARGET_FILENAMEConfiguration key for the name of the target fileprotected org.opencastproject.workspace.api.WorkspaceworkspaceThe workspace reference
-
Constructor Summary
Constructors Constructor Description CopyWorkflowOperationHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidsetWorkspace(org.opencastproject.workspace.api.Workspace workspace)Callback for the OSGi environment to set the workspace reference.org.opencastproject.workflow.api.WorkflowOperationResultstart(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
-
OPT_SOURCE_TAGS
public static final String OPT_SOURCE_TAGS
Configuration key for the \"tag\" of the track to use as a source input- See Also:
- Constant Field Values
-
OPT_SOURCE_FLAVORS
public static final String OPT_SOURCE_FLAVORS
Configuration key for the \"flavor\" of the track to use as a source input- See Also:
- Constant Field Values
-
OPT_TARGET_DIRECTORY
public static final String OPT_TARGET_DIRECTORY
Configuration key for the directory where the file must be delivered- See Also:
- Constant Field Values
-
OPT_TARGET_FILENAME
public static final String OPT_TARGET_FILENAME
Configuration key for the name of the target file- See Also:
- Constant Field Values
-
workspace
protected org.opencastproject.workspace.api.Workspace workspace
The workspace reference
-
-
Method Detail
-
setWorkspace
protected void setWorkspace(org.opencastproject.workspace.api.Workspace workspace)
Callback for the OSGi environment to set the workspace reference.- Parameters:
workspace- 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- Specified by:
startin interfaceorg.opencastproject.workflow.api.WorkflowOperationHandler- Specified by:
startin classorg.opencastproject.workflow.api.AbstractWorkflowOperationHandler- Throws:
org.opencastproject.workflow.api.WorkflowOperationException
-
-