org.jclouds.openstack.nova.v2_0.compute.functions
Class FlavorInZoneToHardware
java.lang.Object
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.
| 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 |
FlavorInZoneToHardware
@Inject
public FlavorInZoneToHardware(com.google.common.base.Supplier<Map<String,org.jclouds.domain.Location>> locationIndex)
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.