Package org.apache.airavata.client.api

Examples of org.apache.airavata.client.api.AiravataAPIInvocationException


  public String getWorkflowAsString(String workflowName, String owner)
      throws AiravataAPIInvocationException {
    try {
      return getClient().getRegistryClient().getWorkflowGraphXML(workflowName);
    } catch (Exception e) {
      throw new AiravataAPIInvocationException(e);
    }
  }
View Full Code Here


      throws AiravataAPIInvocationException {
    try {
      getClient().getRegistryClient().removeWorkflow(workflowName);
      return true;
    } catch (Exception e) {
      throw new AiravataAPIInvocationException(e);
    }
  }
View Full Code Here

  public Workflow getWorkflowFromString(String workflowAsString)
      throws AiravataAPIInvocationException {
    try {
      return new Workflow(workflowAsString);
    } catch (Exception e) {
      throw new AiravataAPIInvocationException(e);
    }
  }
View Full Code Here

    @Override
    public Workflow getWorkflowFromURI(URI workflowPath) throws AiravataAPIInvocationException {
        try {
            return new Workflow(workflowPath);
        } catch (Exception e) {
            throw new AiravataAPIInvocationException(e);
        }
    }
View Full Code Here

  public boolean isPublishedWorkflowExists(String workflowName)
      throws AiravataAPIInvocationException {
    try {
      return getClient().getRegistryClient().isPublishedWorkflowExists(workflowName);
    } catch (Exception e) {
      throw new AiravataAPIInvocationException(e);
    }
  }
View Full Code Here

  public void publishWorkflow(String workflowName, String publishWorkflowName)
      throws AiravataAPIInvocationException {
    try {
      getClient().getRegistryClient().publishWorkflow(workflowName, publishWorkflowName);
    } catch (Exception e) {
      throw new AiravataAPIInvocationException(e);
    }
  }
View Full Code Here

  public void publishWorkflow(String workflowName)
      throws AiravataAPIInvocationException {
    try {
      getClient().getRegistryClient().publishWorkflow(workflowName);
    } catch (Exception e) {
      throw new AiravataAPIInvocationException(e);
    }
  }
View Full Code Here

  public String getPublishedWorkflowGraphXML(String workflowName)
      throws AiravataAPIInvocationException {
    try {
      return getClient().getRegistryClient().getPublishedWorkflowGraphXML(workflowName);
    } catch (Exception e) {
      throw new AiravataAPIInvocationException(e);
    }
  }
View Full Code Here

  public List<String> getPublishedWorkflowNames()
      throws AiravataAPIInvocationException {
    try {
      return getClient().getRegistryClient().getPublishedWorkflowNames();
    } catch (Exception e) {
      throw new AiravataAPIInvocationException(e);
    }
  }
View Full Code Here

      for (String name : publishedWorkflows.keySet()) {
        workflows.put(name, getWorkflowFromString(publishedWorkflows.get(name)));
      }
      return workflows;
    } catch (Exception e) {
      throw new AiravataAPIInvocationException(e);
    }
  }
View Full Code Here

TOP

Related Classes of org.apache.airavata.client.api.AiravataAPIInvocationException

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.