org.jclouds.slicehost.compute.functions
Class SliceToNodeMetadata
java.lang.Object
org.jclouds.slicehost.compute.functions.SliceToNodeMetadata
- All Implemented Interfaces:
- com.google.common.base.Function<Slice,NodeMetadata>
@Singleton
public class SliceToNodeMetadata
- extends Object
- implements com.google.common.base.Function<Slice,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 |
location
protected final com.google.common.base.Supplier<Location> location
sliceToNodeState
protected final Map<Slice.Status,NodeState> sliceToNodeState
images
protected final com.google.common.base.Supplier<Set<? extends Image>> images
hardwares
protected final com.google.common.base.Supplier<Set<? extends Hardware>> hardwares
credentialStore
protected final Map<String,Credentials> credentialStore
logger
protected Logger logger
apply
public NodeMetadata apply(Slice from)
- Specified by:
apply
in interface com.google.common.base.Function<Slice,NodeMetadata>
parseHardware
protected Hardware parseHardware(Slice from)
parseOperatingSystem
protected OperatingSystem parseOperatingSystem(Slice from)
Copyright © 2009-2011 jclouds. All Rights Reserved.