org.jclouds.virtualbox.functions
Class IMachineToVmSpec

java.lang.Object
  extended by org.jclouds.virtualbox.functions.IMachineToVmSpec
All Implemented Interfaces:
com.google.common.base.Function<org.virtualbox_4_1.IMachine,VmSpec>

public class IMachineToVmSpec
extends Object
implements com.google.common.base.Function<org.virtualbox_4_1.IMachine,VmSpec>

Get a VmSpec from an IMachine

Author:
Andrea Turli

Field Summary
protected  Logger logger
           
 
Constructor Summary
IMachineToVmSpec()
           
 
Method Summary
 VmSpec apply(org.virtualbox_4_1.IMachine machine)
           
 
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

@Named(value="jclouds.compute")
protected Logger logger
Constructor Detail

IMachineToVmSpec

public IMachineToVmSpec()
Method Detail

apply

public VmSpec apply(@Nullable
                    org.virtualbox_4_1.IMachine machine)
Specified by:
apply in interface com.google.common.base.Function<org.virtualbox_4_1.IMachine,VmSpec>


Copyright © 2009-2012 jclouds. All Rights Reserved.