public class PackagedWorkflowManager extends Object
| Constructor and Description |
|---|
PackagedWorkflowManager()
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
void |
addWorkflow(Workflow workflow,
String workflowDir)
Add a workflow to the repository
|
Workflow |
parsePackagedWorkflow(String workflowID,
String workflowXML)
Parse a workflow
|
String |
serializeWorkflow(Workflow workflow)
Serialize a workflow
|
public PackagedWorkflowManager()
throws InstantiationException
workflowDir - directory where packaged workflows existInstantiationExceptionpublic void addWorkflow(Workflow workflow, String workflowDir) throws RepositoryException
workflow - a to add into the repositoryRepositoryExceptionpublic String serializeWorkflow(Workflow workflow) throws RepositoryException
workflow - RepositoryExceptionpublic Workflow parsePackagedWorkflow(String workflowID, String workflowXML) throws RepositoryException
workflowID - workflow idworkflowXML - xml representation of the workflow including all tasksRepositoryExceptionCopyright © 1999–2017 Apache OODT. All rights reserved.