| Package | Description |
|---|---|
| org.hawkular.inventory.api | |
| org.hawkular.inventory.api.model | |
| org.hawkular.inventory.base | |
| org.hawkular.inventory.base.spi |
| Modifier and Type | Method and Description |
|---|---|
default <E extends AbstractElement<?,U>,U extends AbstractElement.Update,Single extends ResolvableToSingle<E,U>> |
Inventory.inspect(CanonicalPath path,
Class<Single> accessInterface)
Another generic version of the inspect method, this time using the
CanonicalPath to an element. |
default <E extends AbstractElement<?,U>,U extends AbstractElement.Update,Single extends ResolvableToSingle<E,U>> |
Inventory.inspect(E entity,
Class<Single> accessInterface)
A generic version of the
inspect methods that accepts an element and returns the access interface to it. |
static <U extends AbstractElement.Update,E extends AbstractElement<?,U>> |
Action.updated() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
ResultFilter.isApplicable(AbstractElement<?,?> element)
Given a context (that is passed to this instance outside of the responsibility of this interface), this method
is called by the inventory implementations to check whether given element belongs to the result set of a call.
|
| Modifier and Type | Class and Description |
|---|---|
static class |
AbstractElement.Updater<U extends AbstractElement.Update,E extends AbstractElement<?,U>> |
| Modifier and Type | Class and Description |
|---|---|
class |
Entity<B extends AbstractElement.Blueprint,U extends AbstractElement.Update>
Base class for all Hawkular entities.
|
class |
Environment
An environment is supposed to contain resources that belong to one infrastructure.
|
class |
EnvironmentBasedEntity<B extends Entity.Blueprint,U extends AbstractElement.Update>
Base class for entities that are part of an environment.
|
class |
Feed
Feed is a source of data.
|
class |
FeedBasedEntity<B extends Entity.Blueprint,U extends AbstractElement.Update> |
class |
Metric
Metric describes a single metric that is sent out from a feed.
|
class |
MetricType
Metric type defines metadata of metrics of the same type.
|
class |
Relationship
Represents a relationship between 2 entities.
|
class |
Resource
A resource is a grouping of other data (currently just metrics).
|
class |
ResourceType
Type of a resource.
|
class |
Tenant
A tenant is a top level entity that owns everything else.
|
class |
TenantBasedEntity<B extends Entity.Blueprint,U extends AbstractElement.Update>
Base class for entities in a tenant (i.e.
|
| Modifier and Type | Method and Description |
|---|---|
abstract AbstractElement.Updater<U,? extends AbstractElement<?,U>> |
AbstractElement.update() |
| Modifier and Type | Method and Description |
|---|---|
RelativePath.Extender |
RelativePath.Extender.extend(Class<? extends AbstractElement<?,?>> type,
String id) |
Path.Extender |
Path.Extender.extend(Class<? extends AbstractElement<?,?>> type,
String id) |
CanonicalPath.Extender |
CanonicalPath.Extender.extend(Class<? extends AbstractElement<?,?>> type,
String id) |
| Modifier and Type | Class and Description |
|---|---|
class |
EntityAndPendingNotifications<E extends AbstractElement<?,?>>
A class for holding the results of wiring up a newly created element.
|
class |
Traversal<BE,E extends AbstractElement<?,?>>
A base class for all the inventory traversal interfaces.
|
class |
TraversalContext<BE,E extends AbstractElement<?,?>>
Holds the data needed throughout the construction of inventory traversal.
|
static class |
TraversalContext.Builder<BE,E extends AbstractElement<?,?>>
Builds a new traversal context.
|
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
Traversal.isApplicable(AbstractElement<?,?> result)
If the inventory configuration provided a
ResultFilter, this calls it to tell whether provided element
is applicable. |
| Modifier and Type | Method and Description |
|---|---|
<T extends AbstractElement<?,?>> |
InventoryBackend.convert(E entityRepresentation,
Class<T> entityType)
Converts the provided representation object to a inventory element of provided type.
|
<T extends AbstractElement<?,?>> |
InventoryBackend.query(Query query,
Pager pager,
Function<E,T> conversion,
Function<T,Boolean> filter)
A variant of the
InventoryBackend.query(Query, Pager) method which in addition to querying also converts the results
using the provided conversion function and, more importantly, filters the results using the provided (possibly
null) filter function PRIOR TO paging is applied. |
| Modifier and Type | Method and Description |
|---|---|
Class<? extends AbstractElement<?,?>> |
InventoryBackend.extractType(E entityRepresentation)
Similar to
InventoryBackend.extractId(Object) but extracts the type of element from the representation. |
Copyright © 2015 Red Hat, Inc.. All rights reserved.