public class PlatformInventoryManager extends InventoryManager<PlatformResourceType,PlatformMetricType,PlatformAvailType,PlatformOperation,PlatformResourceConfigurationPropertyType,PlatformResource,PlatformEndpoint>
| Constructor and Description |
|---|
PlatformInventoryManager(String feedId,
MetadataManager<PlatformResourceType,PlatformMetricType,PlatformAvailType,PlatformOperation,PlatformResourceConfigurationPropertyType> metadataManager,
ResourceManager<PlatformResource> resourceManager,
ManagedServer managedServer,
PlatformEndpoint endpoint) |
| Modifier and Type | Method and Description |
|---|---|
void |
discoverResources(org.jgrapht.event.VertexSetListener<PlatformResource> listener)
Populate the inventory with resources that can be automatically discovered.
|
oshi.SystemInfo |
getSystemInfo() |
getEndpoint, getFeedId, getManagedServer, getMetadataManager, getResourceManagerpublic PlatformInventoryManager(String feedId, MetadataManager<PlatformResourceType,PlatformMetricType,PlatformAvailType,PlatformOperation,PlatformResourceConfigurationPropertyType> metadataManager, ResourceManager<PlatformResource> resourceManager, ManagedServer managedServer, PlatformEndpoint endpoint)
public void discoverResources(org.jgrapht.event.VertexSetListener<PlatformResource> listener)
InventoryManagerMetadataManager.getResourceTypeManager()) will be discovered.
Once this returns successfully, InventoryManager.getResourceManager() should be populated with resources.discoverResources in class InventoryManager<PlatformResourceType,PlatformMetricType,PlatformAvailType,PlatformOperation,PlatformResourceConfigurationPropertyType,PlatformResource,PlatformEndpoint>listener - if not null, will be a listener that gets notified when resources are discoveredpublic oshi.SystemInfo getSystemInfo()
Copyright © 2015 Red Hat, Inc.. All rights reserved.