public class VirtualMachineToNodeMetadata extends Object implements com.google.common.base.Function<VirtualMachine,NodeMetadata>
Modifier and Type | Method and Description |
---|---|
NodeMetadata |
apply(VirtualMachine virtualMachine) |
protected com.google.common.base.Optional<? extends Image> |
findImage(StorageProfile storageProfile,
String locatioName) |
protected Hardware |
getHardware(LocationAndName hardwareId) |
protected static Location |
getLocation(com.google.common.base.Supplier<Set<? extends Location>> locations,
String locationName) |
@Named(value="jclouds.compute") protected Logger logger
public NodeMetadata apply(VirtualMachine virtualMachine)
apply
in interface com.google.common.base.Function<VirtualMachine,NodeMetadata>
protected static Location getLocation(com.google.common.base.Supplier<Set<? extends Location>> locations, String locationName)
protected com.google.common.base.Optional<? extends Image> findImage(StorageProfile storageProfile, String locatioName)
protected Hardware getHardware(LocationAndName hardwareId)
Copyright © 2009-2018 The Apache Software Foundation. All Rights Reserved.