@Singleton public class VirtualMachineToNodeMetadata extends Object implements com.google.common.base.Function<VirtualMachine,NodeMetadata>
VirtualMachine
object to a NodeMetadata
one.Constructor and Description |
---|
VirtualMachineToNodeMetadata(VirtualMachineTemplateToImage virtualMachineTemplateToImage,
VirtualMachineTemplateToHardware virtualMachineTemplateToHardware,
VirtualMachineStateToNodeState virtualMachineStateToNodeState,
DatacenterToLocation datacenterToLocation) |
protected Logger logger
@Inject public VirtualMachineToNodeMetadata(VirtualMachineTemplateToImage virtualMachineTemplateToImage, VirtualMachineTemplateToHardware virtualMachineTemplateToHardware, VirtualMachineStateToNodeState virtualMachineStateToNodeState, DatacenterToLocation datacenterToLocation)
public NodeMetadata apply(VirtualMachine vm)
apply
in interface com.google.common.base.Function<VirtualMachine,NodeMetadata>
Copyright © 2009-2013 jclouds. All Rights Reserved.