Package org.apache.airavata.registry.api

Examples of org.apache.airavata.registry.api.WorkflowExecution


        return property;
  }

  public WorkflowExecution getWorkflowExecution(String experimentId)
      throws RegistryException {
    WorkflowExecution workflowExecution = new WorkflowExecutionImpl();
    workflowExecution.setExperimentId(experimentId);
    workflowExecution.setExecutionStatus(getWorkflowExecutionStatus(experimentId));
    workflowExecution.setUser(getWorkflowExecutionUser(experimentId));
    workflowExecution.setMetadata(getWorkflowExecutionMetadata(experimentId));
    workflowExecution.setOutput(getWorkflowExecutionOutput(experimentId));
    workflowExecution.setServiceInput(searchWorkflowExecutionServiceInput(experimentId,".*",".*"));
    workflowExecution.setServiceOutput(searchWorkflowExecutionServiceOutput(experimentId,".*",".*"));
    return workflowExecution;
  }
View Full Code Here


        this.node = node;
  }

    public Object read() throws Exception {
        try {
            WorkflowExecution workflowExecution = registry.getWorkflowExecution(experimentId);
            List<WorkflowServiceIOData> serviceOutput = workflowExecution.getServiceOutput();
            if (serviceOutput.size() == 0) {
                return null;
            }
            for (WorkflowServiceIOData data : serviceOutput) {
                if (this.node.getID().equals(data.getNodeId())) {
View Full Code Here

TOP

Related Classes of org.apache.airavata.registry.api.WorkflowExecution

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.