@Singleton public class VmToNodeMetadata extends Object implements com.google.common.base.Function<Vm,NodeMetadata>
Modifier and Type | Field and Description |
---|---|
protected Map<String,Credentials> |
credentialStore |
protected FindLocationForResource |
findLocationForResourceInVDC |
protected com.google.common.base.Function<Vm,Hardware> |
hardwareForVm |
protected static Logger |
logger |
protected GroupNamingConvention |
nodeNamingConvention |
protected Map<ResourceEntity.Status,NodeMetadata.Status> |
vAppStatusToNodeStatus |
Modifier | Constructor and Description |
---|---|
protected |
VmToNodeMetadata(Map<ResourceEntity.Status,NodeMetadata.Status> vAppStatusToNodeStatus,
Map<String,Credentials> credentialStore,
FindLocationForResource findLocationForResourceInVDC,
com.google.common.base.Function<Vm,Hardware> hardwareForVm,
GroupNamingConvention.Factory namingConvention) |
protected static Logger logger
protected final FindLocationForResource findLocationForResourceInVDC
protected final Map<ResourceEntity.Status,NodeMetadata.Status> vAppStatusToNodeStatus
protected final Map<String,Credentials> credentialStore
protected final GroupNamingConvention nodeNamingConvention
@Inject protected VmToNodeMetadata(Map<ResourceEntity.Status,NodeMetadata.Status> vAppStatusToNodeStatus, Map<String,Credentials> credentialStore, FindLocationForResource findLocationForResourceInVDC, com.google.common.base.Function<Vm,Hardware> hardwareForVm, GroupNamingConvention.Factory namingConvention)
public NodeMetadata apply(Vm from)
apply
in interface com.google.common.base.Function<Vm,NodeMetadata>
Copyright © 2009-2013 jclouds. All Rights Reserved.