org.jclouds.virtualbox.functions
Class IMachineToNodeMetadata

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

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


Field Summary
protected  Logger logger
           
 
Constructor Summary
IMachineToNodeMetadata(Map<org.virtualbox_4_1.MachineState,NodeMetadata.Status> toPortableNodeStatus, MachineUtils machineUtils)
           
 
Method Summary
 NodeMetadata apply(org.virtualbox_4_1.IMachine vm)
           
 
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

IMachineToNodeMetadata

@Inject
public IMachineToNodeMetadata(Map<org.virtualbox_4_1.MachineState,NodeMetadata.Status> toPortableNodeStatus,
                                     MachineUtils machineUtils)
Method Detail

apply

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


Copyright © 2009-2012 jclouds. All Rights Reserved.