@Singleton public class VAppToNodeMetadata extends Object implements com.google.common.base.Function<VApp,NodeMetadata>
Modifier and Type | Field and Description |
---|---|
protected TerremarkVCloudComputeClient |
computeClient |
protected Map<String,Credentials> |
credentialStore |
protected FindLocationForResource |
findLocationForResourceInVDC |
protected HardwareForVCloudExpressVApp |
hardwareForVCloudExpressVApp |
protected com.google.common.base.Supplier<Set<? extends Image>> |
images |
protected Map<Status,NodeState> |
vAppStatusToNodeState |
Modifier | Constructor and Description |
---|---|
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) |
protected final TerremarkVCloudComputeClient computeClient
protected final Map<String,Credentials> credentialStore
protected final FindLocationForResource findLocationForResourceInVDC
protected final HardwareForVCloudExpressVApp hardwareForVCloudExpressVApp
@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)
public NodeMetadata apply(VApp from)
apply
in interface com.google.common.base.Function<VApp,NodeMetadata>
Copyright © 2009-2012 jclouds. All Rights Reserved.