Examples of VAppTemplateImpl


Examples of org.jclouds.trmk.vcloud_0_8.domain.internal.VAppTemplateImpl

   public void testTerremark() {
      InputStream is = getClass().getResourceAsStream("/vAppTemplate-trmk.xml");
      injector = Guice.createInjector(new SaxParserModule());
      factory = injector.getInstance(ParseSax.Factory.class);
      VAppTemplate result = factory.create(injector.getInstance(VAppTemplateHandler.class)).parse(is);
      assertEquals(result, new VAppTemplateImpl("CentOS 5.3 (32-bit)", URI
            .create("https://services.vcloudexpress.terremark.com/api/v0.8/vAppTemplate/5"),
            "description of CentOS 5.3 (32-bit)", null));
   }
View Full Code Here

Examples of org.jclouds.trmk.vcloud_0_8.domain.internal.VAppTemplateImpl

   private ReferenceType catalog;
   private String description;
   private Status status;

   public VAppTemplate getResult() {
      return new VAppTemplateImpl(catalog.getName(), catalog.getHref(), description, status);
   }
View Full Code Here

Examples of org.jclouds.trmk.vcloud_0_8.domain.internal.VAppTemplateImpl

   private ReferenceType catalog;
   private String description;
   private Status status;

   public VAppTemplate getResult() {
      return new VAppTemplateImpl(catalog.getName(), catalog.getHref(), description, status);
   }
View Full Code Here

Examples of org.jclouds.trmk.vcloud_0_8.domain.internal.VAppTemplateImpl

   public void testTerremark() {
      InputStream is = getClass().getResourceAsStream("/vAppTemplate-trmk.xml");
      injector = Guice.createInjector(new SaxParserModule());
      factory = injector.getInstance(ParseSax.Factory.class);
      VAppTemplate result = factory.create(injector.getInstance(VAppTemplateHandler.class)).parse(is);
      assertEquals(result, new VAppTemplateImpl("CentOS 5.3 (32-bit)", URI
            .create("https://services.vcloudexpress.terremark.com/api/v0.8/vAppTemplate/5"),
            "description of CentOS 5.3 (32-bit)", null));
   }
View Full Code Here

Examples of org.jclouds.vcloud.domain.internal.VAppTemplateImpl

   private boolean inNetworkSection;
   protected Set<Vm> children = Sets.newLinkedHashSet();
   private VCloudNetworkSection networkSection;

   public VAppTemplate getResult() {
      return new VAppTemplateImpl(template.getName(), template.getType(), template.getHref(), status, vdc, description,
               tasks, ovfDescriptorUploaded, vAppScopedLocalId, children, networkSection);
   }
View Full Code Here

Examples of org.jclouds.vcloud.domain.internal.VAppTemplateImpl

   private boolean inNetworkSection;
   protected Set<Vm> children = Sets.newLinkedHashSet();
   private VCloudNetworkSection networkSection;

   public VAppTemplate getResult() {
      return new VAppTemplateImpl(template.getName(), template.getType(), template.getHref(), status, vdc, description,
               tasks, ovfDescriptorUploaded, vAppScopedLocalId, children, networkSection);
   }
View Full Code Here

Examples of org.jclouds.vcloud.domain.internal.VAppTemplateImpl

   private boolean inNetworkSection;
   protected Set<Vm> children = Sets.newLinkedHashSet();
   private VCloudNetworkSection networkSection;

   public VAppTemplate getResult() {
      return new VAppTemplateImpl(template.getName(), template.getType(), template.getHref(), status, vdc, description,
               tasks, ovfDescriptorUploaded, vAppScopedLocalId, children, networkSection);
   }
View Full Code Here

Examples of org.jclouds.vcloud.domain.internal.VAppTemplateImpl

   private boolean inNetworkSection;
   protected Set<Vm> children = Sets.newLinkedHashSet();
   private VCloudNetworkSection networkSection;

   public VAppTemplate getResult() {
      return new VAppTemplateImpl(template.getName(), template.getType(), template.getHref(), status, vdc, description,
               tasks, ovfDescriptorUploaded, vAppScopedLocalId, children, networkSection);
   }
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.