org.jclouds.deltacloud.compute.functions
Class InstanceToNodeMetadata
java.lang.Object
org.jclouds.deltacloud.compute.functions.InstanceToNodeMetadata
- All Implemented Interfaces:
- com.google.common.base.Function<Instance,NodeMetadata>
@Singleton
public class InstanceToNodeMetadata
- extends Object
- implements com.google.common.base.Function<Instance,NodeMetadata>
- Author:
- Adrian Cole
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 |
instanceToNodeState
public static final Map<Instance.State,NodeState> instanceToNodeState
logger
@Named(value="jclouds.compute")
protected Logger logger
locations
protected final com.google.common.base.Supplier<Set<? extends Location>> locations
images
protected final com.google.common.base.Supplier<Set<? extends Image>> images
hardwares
protected final com.google.common.base.Supplier<Set<? extends Hardware>> hardwares
parseHardware
protected Hardware parseHardware(Instance from)
parseOperatingSystem
protected OperatingSystem parseOperatingSystem(Instance from)
parseLocation
protected Location parseLocation(Instance from)
apply
public NodeMetadata apply(Instance from)
- Specified by:
apply
in interface com.google.common.base.Function<Instance,NodeMetadata>
Copyright © 2009-2012 jclouds. All Rights Reserved.