Package org.apache.airavata.model

Examples of org.apache.airavata.model.Workflow$WorkflowStandardScheme


  public Workflow getWorkflow(String workflowTemplateId)
      throws InvalidRequestException, AiravataClientException,
      AiravataSystemException, TException {
    try {
      org.apache.airavata.workflow.model.wf.Workflow w = getAiravataAPI().getWorkflowManager().getWorkflow(workflowTemplateId);
      Workflow workflow = new Workflow();
      workflow.setTemplateId(workflowTemplateId);
      workflow.setGraph(XMLUtil.xmlElementToString(w.toXML()));
      workflow.setName(w.getName());
      return workflow;
    } catch (AiravataAPIInvocationException e) {
      String msg = "Error in retrieving the workflow "+workflowTemplateId+".";
      log.error(msg, e);
      AiravataSystemException exception = new AiravataSystemException(AiravataErrorType.INTERNAL_ERROR);
View Full Code Here

TOP

Related Classes of org.apache.airavata.model.Workflow$WorkflowStandardScheme

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.