Package org.apache.airavata.schemas.gfac.ExportProperties

Examples of org.apache.airavata.schemas.gfac.ExportProperties.Name


          String[] exports = StringUtil.getElementsFromString(exportsTextField.getText());
          ExportProperties exportsElement = ((GsisshHostType)hostDescription.getType()).addNewExports();
          for (String export : exports) {
            String[] nameVal = StringUtil.getElementsFromString(export,"=",StringUtil.QUOTE);
            if (nameVal.length>0){
                Name name = exportsElement.addNewName();
              name.setStringValue(nameVal[0]);
              if (nameVal.length>1){
                name.setValue(nameVal[1]);
              }
            }
      }
            ((GsisshHostType)hostDescription.getType()).setPreJobCommandsArray(StringUtil.getElementsFromString(this.preJobCommandsTextField.getText()));
            ((GsisshHostType)hostDescription.getType()).setPostJobCommandsArray(StringUtil.getElementsFromString(this.postJobCommandsTextField.getText()));
View Full Code Here

TOP

Related Classes of org.apache.airavata.schemas.gfac.ExportProperties.Name

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.