org.jclouds.location.suppliers
Class RegionToProviderOrJustProvider

java.lang.Object
  extended by org.jclouds.location.suppliers.JustProvider
      extended by 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

Constructor Summary
RegionToProviderOrJustProvider(Set<String> isoCodes, String providerName, URI endpoint, Set<String> regions, Map<String,Set<String>> isoCodesById)
           
 
Method Summary
protected  com.google.common.collect.ImmutableSet.Builder<Location> buildJustProviderOrRegions()
           
 Set<? extends Location> get()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RegionToProviderOrJustProvider

@Inject
public RegionToProviderOrJustProvider(Set<String> isoCodes,
                                             String providerName,
                                             URI endpoint,
                                             Set<String> regions,
                                             Map<String,Set<String>> isoCodesById)
Method Detail

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.