org.jclouds.cloudstack.compute.functions
Class VirtualMachineToNodeMetadata

java.lang.Object
  extended by org.jclouds.cloudstack.compute.functions.VirtualMachineToNodeMetadata
All Implemented Interfaces:
com.google.common.base.Function<VirtualMachine,NodeMetadata>

@Singleton
public class VirtualMachineToNodeMetadata
extends Object
implements com.google.common.base.Function<VirtualMachine,NodeMetadata>

Author:
Adrian Cole, Andrei Savu

Nested Class Summary
static class VirtualMachineToNodeMetadata.FindHardwareForVirtualMachine
           
static class VirtualMachineToNodeMetadata.FindImageForVirtualMachine
           
static class VirtualMachineToNodeMetadata.FindLocationForVirtualMachine
           
 
Field Summary
static Map<VirtualMachine.State,NodeState> vmStateToNodeState
           
 
Method Summary
 NodeMetadata apply(VirtualMachine from)
           
 
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

vmStateToNodeState

public static final Map<VirtualMachine.State,NodeState> vmStateToNodeState
Method Detail

apply

public NodeMetadata apply(VirtualMachine from)
Specified by:
apply in interface com.google.common.base.Function<VirtualMachine,NodeMetadata>


Copyright © 2009-2012 jclouds. All Rights Reserved.