Package org.platformlayer.images.model

Examples of org.platformlayer.images.model.ConfigurePackage


      return;
    }

    List<ConfigurePackage> list = Lists.newArrayList();
    for (ConfigurePackage configurePackage : configurePackages) {
      ConfigurePackage model = new ConfigurePackage();
      model.setPackageName(configurePackage.packageName);
      model.setType(configurePackage.type);
      model.setKey(configurePackage.key);
      model.setValue(configurePackage.value);
      list.add(model);
    }

    apt.preconfigurePackages(target, list);
  }
View Full Code Here


  public void addConfiguration(String packageName, String key, String type, String value) {
    if (configuration == null) {
      configuration = Lists.newArrayList();
    }

    ConfigurePackage conf = new ConfigurePackage();
    conf.setKey(key);
    conf.setValue(value);
    conf.setType(type);
    conf.setPackageName(packageName);

    configuration.add(conf);
  }
View Full Code Here

      }
    };
  }

  public static void addPreconfigure(DiskImageRecipe recipe, String packageName, String key, String type, String value) {
    ConfigurePackage configurePackage = new ConfigurePackage();
    configurePackage.setPackageName(packageName);
    configurePackage.setKey(key);
    configurePackage.setType(type);
    configurePackage.setValue(value);

    recipe.getConfigurePackage().add(configurePackage);
  }
View Full Code Here

TOP

Related Classes of org.platformlayer.images.model.ConfigurePackage

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.