Package org.jclouds.trmk.vcloud_0_8.options

Examples of org.jclouds.trmk.vcloud_0_8.options.InstantiateVAppTemplateOptions.block()


   @Override
   public InstantiateVAppTemplateOptions apply(Template from) {
      InstantiateVAppTemplateOptions options = processorCount(Double.valueOf(getCores(from.getHardware())).intValue())
            .memory(from.getHardware().getRam());
      if (!from.getOptions().shouldBlockUntilRunning())
         options.block(false);
      String sshKeyFingerprint = TerremarkVCloudTemplateOptions.class.cast(from.getOptions()).getSshKeyFingerprint();
      if (sshKeyFingerprint != null)
         options.sshKeyFingerprint(sshKeyFingerprint);
      return options;
   }
View Full Code Here


   @Override
   public InstantiateVAppTemplateOptions apply(Template from) {
      InstantiateVAppTemplateOptions options = processorCount(Double.valueOf(getCores(from.getHardware())).intValue())
            .memory(from.getHardware().getRam());
      if (!from.getOptions().shouldBlockUntilRunning())
         options.block(false);
      String sshKeyFingerprint = TerremarkVCloudTemplateOptions.class.cast(from.getOptions()).getSshKeyFingerprint();
      if (sshKeyFingerprint != null)
         options.sshKeyFingerprint(sshKeyFingerprint);
      return options;
   }
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.