L - the type of the protocol specific location, typically a subclass of NodeLocationpublic final class Discovery<L> extends Object
| Constructor and Description |
|---|
Discovery() |
| Modifier and Type | Method and Description |
|---|---|
void |
discoverAllResources(Session<L> session,
Consumer<Resource<L>> resourceConsumer)
Performs the discovery and stores the discovered inventory in this object's inventory manager.
|
<N> void |
discoverChildren(Resource<L> parent,
ResourceType<L> childType,
Session<L> session,
Consumer<Resource<L>> resourceConsumer) |
public void discoverAllResources(Session<L> session, Consumer<Resource<L>> resourceConsumer)
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.