public class PlatformDiscovery extends Object
| Constructor and Description |
|---|
PlatformDiscovery(PlatformInventoryManager im)
Creates the discovery object for the given inventory manager.
|
| Modifier and Type | Method and Description |
|---|---|
void |
discoverAllResources(org.jgrapht.event.VertexSetListener<PlatformResource> listener)
Performs the discovery and stores the discovered inventory in this object's inventory manager.
|
public PlatformDiscovery(PlatformInventoryManager im)
im - the inventory manager that holds information about the platform to be queried and
the known types to be discoveredpublic void discoverAllResources(org.jgrapht.event.VertexSetListener<PlatformResource> listener) throws Exception
listener - if not null, will be a listener that gets notified when resources are discoveredException - if discovery failedCopyright © 2015 Red Hat, Inc.. All rights reserved.