org.jclouds.openstack.nova.v2_0.compute.functions
Class FlavorInZoneToHardware

java.lang.Object
  extended by org.jclouds.openstack.nova.v2_0.compute.functions.FlavorInZoneToHardware
All Implemented Interfaces:
com.google.common.base.Function<FlavorInZone,org.jclouds.compute.domain.Hardware>

public class FlavorInZoneToHardware
extends Object
implements com.google.common.base.Function<FlavorInZone,org.jclouds.compute.domain.Hardware>

A function for transforming the nova specific FlavorInZone object to the generic Hardware object.


Constructor Summary
FlavorInZoneToHardware(com.google.common.base.Supplier<Map<String,org.jclouds.domain.Location>> locationIndex)
           
 
Method Summary
 org.jclouds.compute.domain.Hardware apply(FlavorInZone flavorInZone)
           
 
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
 

Constructor Detail

FlavorInZoneToHardware

@Inject
public FlavorInZoneToHardware(com.google.common.base.Supplier<Map<String,org.jclouds.domain.Location>> locationIndex)
Method Detail

apply

public org.jclouds.compute.domain.Hardware apply(FlavorInZone flavorInZone)
Specified by:
apply in interface com.google.common.base.Function<FlavorInZone,org.jclouds.compute.domain.Hardware>


Copyright © 2009-2014 The Apache Software Foundation. All Rights Reserved.