org.jclouds.aws.ec2.compute.functions
Class AWSRunningInstanceToNodeMetadata
java.lang.Object
org.jclouds.ec2.compute.functions.RunningInstanceToNodeMetadata
org.jclouds.aws.ec2.compute.functions.AWSRunningInstanceToNodeMetadata
- All Implemented Interfaces:
- com.google.common.base.Function<RunningInstance,NodeMetadata>
@Singleton
public class AWSRunningInstanceToNodeMetadata
- extends RunningInstanceToNodeMetadata
- 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 |
AWSRunningInstanceToNodeMetadata
@Inject
protected AWSRunningInstanceToNodeMetadata(Map<InstanceState,NodeState> instanceToNodeState,
Map<String,Credentials> credentialStore,
com.google.common.base.Supplier<com.google.common.cache.Cache<RegionAndName,? extends Image>> imageMap,
com.google.common.base.Supplier<Set<? extends Location>> locations,
com.google.common.base.Supplier<Set<? extends Hardware>> hardware)
addCredentialsForInstance
protected void addCredentialsForInstance(NodeMetadataBuilder builder,
RunningInstance instance)
- Overrides:
addCredentialsForInstance
in class RunningInstanceToNodeMetadata
buildInstance
protected NodeMetadataBuilder buildInstance(RunningInstance instance,
NodeMetadataBuilder builder)
- Overrides:
buildInstance
in class RunningInstanceToNodeMetadata
Copyright © 2009-2011 jclouds. All Rights Reserved.