org.jclouds.trmk.vcloud_0_8.compute.functions
Class VAppToNodeMetadata
java.lang.Object
org.jclouds.trmk.vcloud_0_8.compute.functions.VAppToNodeMetadata
- All Implemented Interfaces:
- com.google.common.base.Function<VApp,NodeMetadata>
@Singleton
public class VAppToNodeMetadata
- extends Object
- implements com.google.common.base.Function<VApp,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 |
computeClient
protected final TerremarkVCloudComputeClient computeClient
credentialStore
protected final Map<String,Credentials> credentialStore
images
protected final com.google.common.base.Supplier<Set<? extends Image>> images
findLocationForResourceInVDC
protected final FindLocationForResource findLocationForResourceInVDC
hardwareForVCloudExpressVApp
protected final HardwareForVCloudExpressVApp hardwareForVCloudExpressVApp
vAppStatusToNodeState
protected final Map<Status,NodeState> vAppStatusToNodeState
credentialsMap
protected final ConcurrentMap<OrgAndName,KeyPairCredentials> credentialsMap
VAppToNodeMetadata
@Inject
protected VAppToNodeMetadata(TerremarkVCloudComputeClient computeClient,
Map<String,Credentials> credentialStore,
Map<Status,NodeState> vAppStatusToNodeState,
HardwareForVCloudExpressVApp hardwareForVCloudExpressVApp,
FindLocationForResource findLocationForResourceInVDC,
com.google.common.base.Supplier<Set<? extends Image>> images,
ConcurrentMap<OrgAndName,KeyPairCredentials> credentialsMap)
apply
public NodeMetadata apply(VApp from)
- Specified by:
apply
in interface com.google.common.base.Function<VApp,NodeMetadata>
installCredentialsFromCache
protected void installCredentialsFromCache(URI nodeId,
URI orgId,
String group,
NodeMetadataBuilder builder)
Copyright © 2009-2011 jclouds. All Rights Reserved.