Examples of ReferenceTypeImpl


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

         @Network
         @Provides
         @Singleton
         Supplier<ReferenceType> provideNetwork() {
            return Suppliers.<ReferenceType>ofInstance(new ReferenceTypeImpl(null, null, URI
                     .create("https://vcenterprise.bluelock.com/api/v1.0/network/1990")));
         }
      }));
   }
View Full Code Here

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

   public void testMatchWhenIdIsHref() {
      Location location = new LocationBuilder().id("http://foo").description("description")
            .scope(LocationScope.PROVIDER).build();
      FindLocationForResource converter = new FindLocationForResource(
            Suppliers.<Set<? extends Location>> ofInstance(ImmutableSet.<Location> of(location)));
      assertEquals(converter.apply(new ReferenceTypeImpl("name", "type", URI.create("http://foo"))), location);
   }
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.