org.jclouds.joyent.cloudapi.v6_5.compute.functions
Class PackageInDatacenterToHardware
java.lang.Object
org.jclouds.joyent.cloudapi.v6_5.compute.functions.PackageInDatacenterToHardware
- All Implemented Interfaces:
- com.google.common.base.Function<PackageInDatacenter,org.jclouds.compute.domain.Hardware>
public class PackageInDatacenterToHardware
- extends Object
- implements com.google.common.base.Function<PackageInDatacenter,org.jclouds.compute.domain.Hardware>
A function for transforming the cloudApi specific PackageInDatacenter object to
the generic Hardware object.
- Author:
- Adrian Cole
| 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 |
PackageInDatacenterToHardware
@Inject
public PackageInDatacenterToHardware(com.google.common.base.Supplier<Map<String,org.jclouds.domain.Location>> locationIndex)
apply
public org.jclouds.compute.domain.Hardware apply(PackageInDatacenter pkgInDatacenter)
- Specified by:
apply in interface com.google.common.base.Function<PackageInDatacenter,org.jclouds.compute.domain.Hardware>
Copyright © 2009-2012 jclouds. All Rights Reserved.