public interface InventoryListener
| Modifier and Type | Method and Description |
|---|---|
<L> void |
discoveryCompleted(DiscoveryEvent<L> event)
Notifies this listener that a discovery scan has completed.
|
<L> void |
resourcesAdded(InventoryEvent<L> event)
Notifies this listener that the resources in
InventoryEvent.getPayload()
were added to the monitored endpoint. |
<L> void |
resourcesRemoved(InventoryEvent<L> event)
Notifies this listener that the resources in
InventoryEvent.getPayload()
were removed from the monitored endpoint. |
<L> void resourcesAdded(InventoryEvent<L> event)
InventoryEvent.getPayload()
were added to the monitored endpoint.
Note that these resources need to be flushed to persistent storage by
calling discoveryCompleted(DiscoveryEvent) after all resources have
been added (or removed).event - the InventoryEvent<L> void resourcesRemoved(InventoryEvent<L> event)
InventoryEvent.getPayload()
were removed from the monitored endpoint.
Note that these resources need to be flushed to persistent storage by
calling discoveryCompleted(DiscoveryEvent) after all resources have
been added (or removed).event - the InventoryEvent<L> void discoveryCompleted(DiscoveryEvent<L> event)
DiscoveryEvent.getResourceManager() were updated as part of the completed
discovery scan.
Make sure you call this after you add
and remove resources.event - the DiscoveryEventCopyright © 2015–2016 Red Hat, Inc.. All rights reserved.