Package org.ogce.schemas.gfac.documents

Examples of org.ogce.schemas.gfac.documents.PackageType


    if (host.getPortRangeStart() > 0 && host.getPortRangeEnd() > 0) {
      portRangeType.setStart(Integer.valueOf(host.getPortRangeStart()));
      portRangeType.setEnd(Integer.valueOf(host.getPortRangeEnd()));
    }

    PackageType javaInstallation;
    if (hostConf.getJavaArray() != null
        && hostConf.getJavaArray().length > 0) {
      javaInstallation = hostConf.getJavaArray(0);
    } else {
      javaInstallation = hostConf.addNewJava();
    }
    String jdkName = host.getJdkName();
    javaInstallation.setName(jdkName);
    javaInstallation.setHome(host.getJdkPath());
    // FIXME: hostBean should not be needed
    javaInstallation.setVersion(jdkName.replaceAll("java", ""));

    if (host.getHostEnv() != null) {
      HashMap<String, NameValuePairType> envMap = new HashMap<String, NameValuePairType>();
      if (hostConf.getHostEnvArray() != null) {
        for (NameValuePairType pair : hostConf.getHostEnvArray()) {
View Full Code Here


        portRangeType.setStart(Integer
            .valueOf(host.getPortRangeStart()));
        portRangeType.setEnd(Integer.valueOf(host.getPortRangeEnd()));
      }

      PackageType javaInstallation;
      if (hostConf.getJavaArray() != null
          && hostConf.getJavaArray().length > 0) {
        javaInstallation = hostConf.getJavaArray(0);
      } else {
        javaInstallation = hostConf.addNewJava();
      }
      String jdkName = host.getJdkName();
      javaInstallation.setName(jdkName);
      javaInstallation.setHome(host.getJdkPath());
      //FIXME: this should not be needed
      javaInstallation.setVersion(jdkName.replaceAll("java", ""));

      if (host.getHostEnv() != null) {
        HashMap<String, NameValuePairType> envMap = new HashMap<String, NameValuePairType>();
        if (hostConf.getHostEnvArray() != null) {
          for (NameValuePairType pair : hostConf.getHostEnvArray()) {
View Full Code Here

        portRangeType.setStart(Integer
            .valueOf(host.getPortRangeStart()));
        portRangeType.setEnd(Integer.valueOf(host.getPortRangeEnd()));
      }

      PackageType javaInstallation;
      if (hostConf.getJavaArray() != null
          && hostConf.getJavaArray().length > 0) {
        javaInstallation = hostConf.getJavaArray(0);
      } else {
        javaInstallation = hostConf.addNewJava();
      }
      String jdkName = host.getJdkName();
      javaInstallation.setName(jdkName);
      javaInstallation.setHome(host.getJdkPath());
      //FIXME: this should not be needed
      javaInstallation.setVersion(jdkName.replaceAll("java", ""));

      if (host.getHostEnv() != null) {
        HashMap<String, NameValuePairType> envMap = new HashMap<String, NameValuePairType>();
        if (hostConf.getHostEnvArray() != null) {
          for (NameValuePairType pair : hostConf.getHostEnvArray()) {
View Full Code Here

TOP

Related Classes of org.ogce.schemas.gfac.documents.PackageType

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.