Package org.apache.airavata.client.api

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


  public void setExperimentName(String experimentId, String experimentName)
      throws AiravataAPIInvocationException {
    try {
      getClient().getRegistryClient().updateExperimentName(experimentId, experimentName);
    } catch (Exception e) {
      throw new AiravataAPIInvocationException(e);
    }
  }
View Full Code Here


  public ExperimentName getExperimentName(String experimentId)
      throws AiravataAPIInvocationException {
    try {
      return new ExperimentName(experimentId, getClient().getRegistryClient().getExperimentName(experimentId));
    } catch (Exception e) {
      throw new AiravataAPIInvocationException(e);
    }
  }
View Full Code Here

  public ExperimentData getWorkflowExperimentData(String experimentId)
      throws AiravataAPIInvocationException {
    try {
      return getClient().getRegistryClient().getExperiment(experimentId);
    } catch (Exception e) {
      throw new AiravataAPIInvocationException(e);
    }
  }
View Full Code Here

      String workflowInstaceId, String nodeId, State status)
      throws AiravataAPIInvocationException {
    try {
      getClient().getRegistryClient().updateWorkflowNodeStatus(workflowInstaceId, nodeId, status);
    } catch (Exception e) {
      throw new AiravataAPIInvocationException(e);
    }
   
  }
View Full Code Here

  public void setWorkflowInstanceNodeStatus(NodeExecutionStatus status)
      throws AiravataAPIInvocationException {
    try {
      getClient().getRegistryClient().updateWorkflowNodeStatus(status);
    } catch (Exception e) {
      throw new AiravataAPIInvocationException(e);
    }
  }
View Full Code Here

  public NodeExecutionStatus getWorkflowInstanceNodeStatus(
      WorkflowInstanceNode node) throws AiravataAPIInvocationException {
    try {
      return getClient().getRegistryClient().getWorkflowNodeStatus(node);
    } catch (Exception e) {
      throw new AiravataAPIInvocationException(e);
   
  }
View Full Code Here

      AiravataExperiment experiment = new AiravataExperiment();
      experiment.setExperimentId(experimentId);
      getClient().getRegistryClient().addExperiment(projectName, experiment);
      getClient().getRegistryClient().updateExperimentName(experimentId, experimentName);
    } catch (Exception e) {
      throw new AiravataAPIInvocationException(e);
   
  }
View Full Code Here

      WorkflowExecution workflowInstance)
      throws AiravataAPIInvocationException {
    try {
      getClient().getRegistryClient().addWorkflowInstance(experimentId, workflowInstance.getWorkflowExecutionId(),workflowInstance.getTemplateName());
    } catch (Exception e) {
      throw new AiravataAPIInvocationException(e);
    }
   
  }
View Full Code Here

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

    @Override
    public void setWorkflowNodeType(WorkflowInstanceNode node, WorkflowNodeType type) throws AiravataAPIInvocationException {
        try{
            getClient().getRegistryClient().updateWorkflowNodeType(node, type);
        }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.