public class StartWorkflowWorkflowOperationHandler
extends org.opencastproject.workflow.api.AbstractWorkflowOperationHandler
| Modifier and Type | Field and Description |
|---|---|
static String |
MEDIA_PACKAGE_ID
Name of the configuration option that provides the media package ID
|
static String |
WORKFLOW_DEFINITION
Name of the configuration option that provides the workflow definition ID
|
| Constructor and Description |
|---|
StartWorkflowWorkflowOperationHandler() |
| Modifier and Type | Method and Description |
|---|---|
void |
setAssetManager(org.opencastproject.assetmanager.api.AssetManager assetManager)
Callback for the OSGi declarative services configuration.
|
void |
setWorkflowService(org.opencastproject.workflow.api.WorkflowService workflowService)
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 MEDIA_PACKAGE_ID
public static final String WORKFLOW_DEFINITION
public StartWorkflowWorkflowOperationHandler()
public void setAssetManager(org.opencastproject.assetmanager.api.AssetManager assetManager)
assetManager - the asset managerpublic void setWorkflowService(org.opencastproject.workflow.api.WorkflowService workflowService)
workflowService - the workflow servicepublic 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.