T - the type of payloadpublic class InventoryEvent<L> extends Object
InventoryListener| Constructor and Description |
|---|
InventoryEvent(SamplingService<L> samplingService,
List<Resource<L>> payload)
Creates an inventory event.
|
| Modifier and Type | Method and Description |
|---|---|
List<Resource<L>> |
getPayload() |
SamplingService<L> |
getSamplingService() |
public InventoryEvent(SamplingService<L> samplingService, List<Resource<L>> payload)
samplingService - a service that provides details such as feed ID and endpoint information that helps
identify the resources in the event, plus has methods that can be used to monitor
the resources in the event.payload - the list of resources associated with this eventpublic SamplingService<L> getSamplingService()
Copyright © 2015–2016 Red Hat, Inc.. All rights reserved.