org.jclouds.trmk.vcloud_0_8.compute.functions
Class VAppToNodeMetadata

java.lang.Object
  extended by 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

Field Summary
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
           
 
Constructor Summary
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)
           
 
Method Summary
 NodeMetadata apply(VApp from)
           
 
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
 

Field Detail

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
Constructor Detail

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)
Method Detail

apply

public NodeMetadata apply(VApp from)
Specified by:
apply in interface com.google.common.base.Function<VApp,NodeMetadata>


Copyright © 2009-2012 jclouds. All Rights Reserved.