@Singleton public class VAppToNodeMetadata extends Object implements com.google.common.base.Function<VApp,NodeMetadata>
Modifier and Type | Field and Description |
---|---|
protected Map<String,Credentials> |
credentialStore |
protected FindLocationForResource |
findLocationForResourceInVDC |
protected com.google.common.base.Function<VApp,Hardware> |
hardwareForVApp |
protected static Logger |
logger |
protected Map<Status,NodeState> |
vAppStatusToNodeState |
Modifier | Constructor and Description |
---|---|
protected |
VAppToNodeMetadata(Map<Status,NodeState> vAppStatusToNodeState,
Map<String,Credentials> credentialStore,
FindLocationForResource findLocationForResourceInVDC,
com.google.common.base.Function<VApp,Hardware> hardwareForVApp) |
protected static Logger logger
protected final FindLocationForResource findLocationForResourceInVDC
protected final Map<String,Credentials> credentialStore
@Inject protected VAppToNodeMetadata(Map<Status,NodeState> vAppStatusToNodeState, Map<String,Credentials> credentialStore, FindLocationForResource findLocationForResourceInVDC, com.google.common.base.Function<VApp,Hardware> hardwareForVApp)
public NodeMetadata apply(VApp from)
apply
in interface com.google.common.base.Function<VApp,NodeMetadata>
Copyright © 2009-2012 jclouds. All Rights Reserved.