public final class IncludeWorkflowOperationHandler
extends org.opencastproject.workflow.api.AbstractWorkflowOperationHandler
| Modifier and Type | Field and Description |
|---|---|
static String |
WORKFLOW_CFG
Configuration value for the workflow operation definition
|
| Constructor and Description |
|---|
IncludeWorkflowOperationHandler() |
| Modifier and Type | Method and Description |
|---|---|
void |
activate(org.osgi.service.component.ComponentContext componentContext) |
void |
insertWorkflow(org.opencastproject.workflow.api.WorkflowInstance wi,
String workflowDefinitionId)
Adds the operations found in the workflow defined by
workflowDefinitionId to the workflow instance and
returns true if everything worked fine, false otherwise. |
void |
setWorkflowService(org.opencastproject.workflow.api.WorkflowService service)
OSGi DI.
|
org.opencastproject.workflow.api.WorkflowOperationResult |
start(org.opencastproject.workflow.api.WorkflowInstance wi,
org.opencastproject.job.api.JobContext context) |
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 WORKFLOW_CFG
public void activate(org.osgi.service.component.ComponentContext componentContext)
activate in class org.opencastproject.workflow.api.AbstractWorkflowOperationHandlerpublic org.opencastproject.workflow.api.WorkflowOperationResult start(org.opencastproject.workflow.api.WorkflowInstance wi,
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.WorkflowOperationExceptionpublic void insertWorkflow(org.opencastproject.workflow.api.WorkflowInstance wi,
String workflowDefinitionId)
throws org.opencastproject.workflow.api.WorkflowOperationException
workflowDefinitionId to the workflow instance and
returns true if everything worked fine, false otherwise.wi - the instance to insert the workflow identified by workflowDefinitionId intoworkflowDefinitionId - id of the workflow definition to insertorg.opencastproject.workflow.api.WorkflowOperationException - in case of any errorpublic void setWorkflowService(org.opencastproject.workflow.api.WorkflowService service)
Copyright © 2009–2021 Opencast Project. All rights reserved.