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 existInstantiationException
public void addWorkflow(Workflow workflow, String workflowDir) throws RepositoryException
workflow
- a to add into the repositoryRepositoryException
public String serializeWorkflow(Workflow workflow) throws RepositoryException
workflow
- RepositoryException
public Workflow parsePackagedWorkflow(String workflowID, String workflowXML) throws RepositoryException
workflowID
- workflow idworkflowXML
- xml representation of the workflow including all tasksRepositoryException
Copyright © 1999–2017 Apache OODT. All rights reserved.