Package org.apache.airavata.schemas.gfac

Examples of org.apache.airavata.schemas.gfac.Parameter


  private List<NodeParameter> generateParameterList(
      List<WorkflowInstanceNodePortData> outputData) {
    List<NodeParameter> params=new ArrayList<NodeParameter>();
    for (WorkflowInstanceNodePortData portData : outputData) {
      Parameter parameter = Parameter.Factory.newInstance();
      parameter.setParameterName(portData.getName());
      NodeParameter serviceParameter = new NodeParameter(parameter, portData.getValue());
      params.add(serviceParameter);
    }
    return params;
  }
View Full Code Here


        xbayaWorkflow.add(workflowService);
      }
      try {
        List<NameValue> parameterData = XBayaUtil.getIOParameterData(workflowIOData.getValue());
        for (NameValue pair : parameterData) {
          Parameter parameter = Parameter.Factory.newInstance();
          parameter.setParameterName(pair.getName());
          ServiceParameter serviceParameter = new ServiceParameter(parameter, pair.getValue());
          if (inputData) {
            workflowService.getInputParameters().getParameters()
                .add(serviceParameter);
          }else{
View Full Code Here

  private List<NodeParameter> generateParameterListForInput(
      List<InputData> list) {
    List<NodeParameter> params=new ArrayList<NodeParameter>();
    for (WorkflowInstanceNodePortData portData : list) {
      Parameter parameter = Parameter.Factory.newInstance();
      parameter.setParameterName(portData.getName());
      NodeParameter serviceParameter = new NodeParameter(parameter, portData.getValue());
      params.add(serviceParameter);
    }
    return params;
  }
View Full Code Here

 
  private List<NodeParameter> generateParameterListForOutput(
      List<OutputData> list) {
    List<NodeParameter> params=new ArrayList<NodeParameter>();
    for (WorkflowInstanceNodePortData portData : list) {
      Parameter parameter = Parameter.Factory.newInstance();
      parameter.setParameterName(portData.getName());
      NodeParameter serviceParameter = new NodeParameter(parameter, portData.getValue());
      params.add(serviceParameter);
    }
    return params;
  }
View Full Code Here

        xbayaWorkflow.add(workflowService);
      }
      try {
        List<NameValue> parameterData = XBayaUtil.getIOParameterData(workflowIOData.getValue());
        for (NameValue pair : parameterData) {
          Parameter parameter = Parameter.Factory.newInstance();
          parameter.setParameterName(pair.getName());
          ServiceParameter serviceParameter = new ServiceParameter(parameter, pair.getValue());
          if (inputData) {
            workflowService.getInputParameters().getParameters()
                .add(serviceParameter);
          }else{
View Full Code Here

TOP

Related Classes of org.apache.airavata.schemas.gfac.Parameter

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.