Uses of Interface
org.opencastproject.workflow.api.WorkflowDefinition
Packages that use WorkflowDefinition
Package
Description
Workflow service.
-
Uses of WorkflowDefinition in org.opencastproject.workflow.api
Classes in org.opencastproject.workflow.api that implement WorkflowDefinitionFields in org.opencastproject.workflow.api with type parameters of type WorkflowDefinitionModifier and TypeFieldDescriptionprotected List<WorkflowDefinition> WorkflowDefinitionSet.definitionsMethods in org.opencastproject.workflow.api that return WorkflowDefinitionModifier and TypeMethodDescriptionConfiguredWorkflow.getWorkflowDefinition()Get the workflow definition.WorkflowService.getWorkflowDefinitionById(String id) Returns theWorkflowDefinitionidentified byname.static WorkflowDefinitionXmlWorkflowParser.parseWorkflowDefinition(InputStream in) Loads a workflow definition from the given input stream.static WorkflowDefinitionXmlWorkflowParser.parseWorkflowDefinition(String in) Loads a workflow definition from the xml stream.static WorkflowDefinitionYamlWorkflowParser.parseWorkflowDefinition(InputStream in) Loads a workflow definition from the given input stream.static WorkflowDefinitionYamlWorkflowParser.parseWorkflowDefinition(String in) Loads a workflow definition from the xml stream.Methods in org.opencastproject.workflow.api that return types with arguments of type WorkflowDefinitionModifier and TypeMethodDescriptionWorkflowDefinitionSet.getDefinitions()WorkflowService.listAvailableWorkflowDefinitions()Gets the list of available workflow definitions.static List<WorkflowDefinition> XmlWorkflowParser.parseWorkflowDefinitions(InputStream in) Loads workflow definitions from the given input stream.static List<WorkflowDefinition> YamlWorkflowParser.parseWorkflowDefinitions(InputStream in) Loads workflow definitions from the given input stream.Methods in org.opencastproject.workflow.api with parameters of type WorkflowDefinitionModifier and TypeMethodDescriptionintWorkflowDefinitionImpl.compareTo(WorkflowDefinition workflowDefinition) voidWorkflowInstance.extend(WorkflowDefinition workflowDefinition) voidWorkflowInstance.insert(WorkflowDefinition workflowDefinition, WorkflowOperationInstance after) WorkflowService.start(WorkflowDefinition workflowDefinition, MediaPackage mediaPackage) Creates a new workflow instance and starts the workflow.WorkflowService.start(WorkflowDefinition workflowDefinition, MediaPackage mediaPackage, Long parentWorkflowId, Map<String, String> properties) Creates a new workflow instance and starts the workflow.WorkflowService.start(WorkflowDefinition workflowDefinition, MediaPackage mediaPackage, Map<String, String> properties) Creates a new workflow instance and starts the workflow.static StringXmlWorkflowParser.toXml(WorkflowDefinition workflowDefinition) Converts a workflowDefinition to an xml stringstatic StringYamlWorkflowParser.toYaml(WorkflowDefinition workflowDefinition) static ConfiguredWorkflowConfiguredWorkflow.workflow(WorkflowDefinition workflowDefinition) Create a parameterless workflow.static ConfiguredWorkflowConfiguredWorkflow.workflow(WorkflowDefinition workflowDefinition, Map<String, String> parameters) Create a workflow with parameters.Method parameters in org.opencastproject.workflow.api with type arguments of type WorkflowDefinitionModifier and TypeMethodDescriptionvoidWorkflowDefinitionSet.setDefinitions(List<WorkflowDefinition> definitions) Constructors in org.opencastproject.workflow.api with parameters of type WorkflowDefinitionModifierConstructorDescriptionConfiguredWorkflow(WorkflowDefinition workflowDefinition, Map<String, String> parameters) Constructor.WorkflowInstance(WorkflowDefinition def, MediaPackage mediaPackage, User creator, Organization organization, Map<String, String> configuration) Constructs a new workflow instance from the given definition, mediapackage, and optional parent workflow ID and properties.Constructor parameters in org.opencastproject.workflow.api with type arguments of type WorkflowDefinition -
Uses of WorkflowDefinition in org.opencastproject.workflow.impl
Fields in org.opencastproject.workflow.impl with type parameters of type WorkflowDefinitionModifier and TypeFieldDescriptionprotected Map<WorkflowIdentifier, WorkflowDefinition> WorkflowDefinitionScanner.installedWorkflowsAn internal collection of workflows that we have installedMethods in org.opencastproject.workflow.impl that return WorkflowDefinitionModifier and TypeMethodDescriptionWorkflowDefinitionScanner.getWorkflowDefinition(User user, WorkflowIdentifier workflowIdentifier) Return the workflow definition for a given workflow identifier This method tries to get the workflow using the exact identifier and falls back to the global workflow (without the organization) if that fails.WorkflowServiceImpl.getWorkflowDefinitionById(String id) Returns theWorkflowDefinitionidentified byname.WorkflowDefinitionScanner.parseWorkflowDefinitionFile(File artifact) Parse the given workflow definition file and return the related workflow definitionWorkflowDefinitionScanner.removeWorkflowDefinition(WorkflowIdentifier identifier) Remove the workflow definition with the given id from the installed definition list.Methods in org.opencastproject.workflow.impl that return types with arguments of type WorkflowDefinitionModifier and TypeMethodDescriptionWorkflowDefinitionScanner.getAvailableWorkflowDefinitions(Organization organization, User user) Return available workflow definitions This method finds workflows that are either globally defined or have the correct organization/roles set.WorkflowServiceImpl.listAvailableWorkflowDefinitions()Gets the list of available workflow definitions.Methods in org.opencastproject.workflow.impl with parameters of type WorkflowDefinitionModifier and TypeMethodDescriptionbooleanWorkflowServiceImpl.isRunnable(WorkflowDefinition workflowDefinition) voidWorkflowDefinitionScanner.putWorkflowDefinition(WorkflowIdentifier identifier, WorkflowDefinition wfd) Add the given workflow definition to the installed workflow definition id.WorkflowServiceImpl.start(WorkflowDefinition workflowDefinition, MediaPackage mediaPackage) Creates a new workflow instance and starts the workflow.WorkflowServiceImpl.start(WorkflowDefinition workflowDefinition, MediaPackage sourceMediaPackage, Long parentWorkflowId, Map<String, String> originalProperties) Creates a new workflow instance and starts the workflow.WorkflowServiceImpl.start(WorkflowDefinition workflowDefinition, MediaPackage mediaPackage, Map<String, String> properties) Creates a new workflow instance and starts the workflow. -
Uses of WorkflowDefinition in org.opencastproject.workflow.remote
Methods in org.opencastproject.workflow.remote that return WorkflowDefinitionModifier and TypeMethodDescriptionWorkflowServiceRemoteImpl.getWorkflowDefinitionById(String id) Returns theWorkflowDefinitionidentified byname.Methods in org.opencastproject.workflow.remote that return types with arguments of type WorkflowDefinitionModifier and TypeMethodDescriptionWorkflowServiceRemoteImpl.listAvailableWorkflowDefinitions()Gets the list of available workflow definitions.Methods in org.opencastproject.workflow.remote with parameters of type WorkflowDefinitionModifier and TypeMethodDescriptionWorkflowServiceRemoteImpl.start(WorkflowDefinition workflowDefinition, MediaPackage mediaPackage) Creates a new workflow instance and starts the workflow.WorkflowServiceRemoteImpl.start(WorkflowDefinition workflowDefinition, MediaPackage mediaPackage, Long parentWorkflowId, Map<String, String> properties) Creates a new workflow instance and starts the workflow.WorkflowServiceRemoteImpl.start(WorkflowDefinition workflowDefinition, MediaPackage mediaPackage, Map<String, String> properties) Creates a new workflow instance and starts the workflow.