org.jclouds.location.suppliers
Class RegionToProviderOrJustProvider
java.lang.Object
org.jclouds.location.suppliers.JustProvider
org.jclouds.location.suppliers.RegionToProviderOrJustProvider
- All Implemented Interfaces:
- com.google.common.base.Supplier<Set<? extends Location>>
- Direct Known Subclasses:
- ZoneToRegionToProviderOrJustProvider
@Singleton
public class RegionToProviderOrJustProvider
- extends JustProvider
- Author:
- Adrian Cole
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RegionToProviderOrJustProvider
@Inject
public RegionToProviderOrJustProvider(Set<String> isoCodes,
String providerName,
URI endpoint,
Set<String> regions,
Map<String,Set<String>> isoCodesById)
get
public Set<? extends Location> get()
- Specified by:
get
in interface com.google.common.base.Supplier<Set<? extends Location>>
- Overrides:
get
in class JustProvider
buildJustProviderOrRegions
protected com.google.common.collect.ImmutableSet.Builder<Location> buildJustProviderOrRegions()
Copyright © 2009-2011 jclouds. All Rights Reserved.