org.jclouds.cloudloadbalancers.loadbalancer.functions
Class LoadBalancerToLoadBalancerMetadata

java.lang.Object
  extended by org.jclouds.cloudloadbalancers.loadbalancer.functions.LoadBalancerToLoadBalancerMetadata
All Implemented Interfaces:
com.google.common.base.Function<LoadBalancer,LoadBalancerMetadata>

@Singleton
public class LoadBalancerToLoadBalancerMetadata
extends Object
implements com.google.common.base.Function<LoadBalancer,LoadBalancerMetadata>

Author:
Adrian Cole

Field Summary
protected  com.google.common.base.Supplier<Location> defaultLocationSupplier
           
protected  com.google.common.base.Supplier<Set<? extends Location>> locations
           
 
Constructor Summary
LoadBalancerToLoadBalancerMetadata(com.google.common.base.Supplier<Location> defaultLocationSupplier, com.google.common.base.Supplier<Set<? extends Location>> locations)
           
 
Method Summary
 LoadBalancerMetadata apply(LoadBalancer input)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.google.common.base.Function
equals
 

Field Detail

locations

protected final com.google.common.base.Supplier<Set<? extends Location>> locations

defaultLocationSupplier

protected final com.google.common.base.Supplier<Location> defaultLocationSupplier
Constructor Detail

LoadBalancerToLoadBalancerMetadata

@Inject
public LoadBalancerToLoadBalancerMetadata(com.google.common.base.Supplier<Location> defaultLocationSupplier,
                                                 com.google.common.base.Supplier<Set<? extends Location>> locations)
Method Detail

apply

public LoadBalancerMetadata apply(LoadBalancer input)
Specified by:
apply in interface com.google.common.base.Function<LoadBalancer,LoadBalancerMetadata>


Copyright © 2009-2012 jclouds. All Rights Reserved.