org.jclouds.vcloud.compute.functions
Class HardwareForVAppTemplate

java.lang.Object
  extended by org.jclouds.vcloud.compute.functions.HardwareForVAppTemplate
All Implemented Interfaces:
com.google.common.base.Function<VAppTemplate,org.jclouds.compute.domain.Hardware>

@Singleton
public class HardwareForVAppTemplate
extends Object
implements com.google.common.base.Function<VAppTemplate,org.jclouds.compute.domain.Hardware>

Author:
Adrian Cole

Field Summary
protected  org.jclouds.logging.Logger logger
           
 
Constructor Summary
protected HardwareForVAppTemplate(com.google.common.base.Function<VAppTemplate,org.jclouds.ovf.Envelope> templateToEnvelope, FindLocationForResource findLocationForResource, VCloudHardwareBuilderFromResourceAllocations rasdToHardwareBuilder)
           
 
Method Summary
 org.jclouds.compute.domain.Hardware apply(VAppTemplate from)
           
protected  String getName(String name)
           
 
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

logger

protected org.jclouds.logging.Logger logger
Constructor Detail

HardwareForVAppTemplate

@Inject
protected HardwareForVAppTemplate(com.google.common.base.Function<VAppTemplate,org.jclouds.ovf.Envelope> templateToEnvelope,
                                         FindLocationForResource findLocationForResource,
                                         VCloudHardwareBuilderFromResourceAllocations rasdToHardwareBuilder)
Method Detail

apply

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

getName

protected String getName(String name)


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