public static class EmptyInventory.MetricsRead extends Object implements Metrics.Read
| Constructor and Description |
|---|
MetricsRead() |
| Modifier and Type | Method and Description |
|---|---|
Metrics.Single |
get(String id)
Tries to find a single entity in the current position in the inventory traversal.
|
Metrics.Multiple |
getAll(Filter... filters)
Returns access interface to all entities conforming to provided filters in the current position in the inventory
traversal.
|
public Metrics.Multiple getAll(Filter... filters)
ResolvingToMultiplegetAll in interface ResolvingToMultiple<Metrics.Multiple>filters - the (possibly empty) list of filters to apply.public Metrics.Single get(String id) throws EntityNotFoundException
ResolvingToSingleget in interface ResolvingToSingle<Metrics.Single>id - the id of the entity to find in the current traversal positionEntityNotFoundExceptionCopyright © 2015 Red Hat, Inc.. All rights reserved.