org.jclouds.vcloud.compute.functions
Class VAppToNodeMetadata
java.lang.Object
org.jclouds.vcloud.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 |
logger
protected static Logger logger
findLocationForResourceInVDC
protected final FindLocationForResource findLocationForResourceInVDC
hardwareForVApp
protected final com.google.common.base.Function<VApp,Hardware> hardwareForVApp
vAppStatusToNodeState
protected final Map<Status,NodeState> vAppStatusToNodeState
credentialStore
protected final Map<String,Credentials> credentialStore
VAppToNodeMetadata
@Inject
protected VAppToNodeMetadata(Map<Status,NodeState> vAppStatusToNodeState,
Map<String,Credentials> credentialStore,
FindLocationForResource findLocationForResourceInVDC,
com.google.common.base.Function<VApp,Hardware> hardwareForVApp)
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.