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