| Package | Description |
|---|---|
| org.hawkular.agent.monitor.inventory | |
| org.hawkular.agent.monitor.protocol |
| Modifier and Type | Method and Description |
|---|---|
ResourceType<L> |
ResourceType.Builder.build() |
ResourceType<L> |
Resource.getResourceType() |
| Modifier and Type | Method and Description |
|---|---|
Set<ResourceType<L>> |
ResourceTypeManager.getChildren(ResourceType<L> resourceType)
Returns the direct child types of the given resource type.
|
Set<ResourceType<L>> |
ResourceTypeManager.getParents(ResourceType<L> resourceType)
Returns the direct parent types of the given resource type.
|
List<ResourceType<L>> |
ResourceTypeManager.getResourceTypesBreadthFirst()
Returns an immutable
List of all ResourceTypes contained in ResourceTypeManager.resourceTypesGraph in
breadth-first order. |
Map<Name,TypeSet<ResourceType<L>>> |
TypeSets.getResourceTypeSets() |
Set<ResourceType<L>> |
ResourceTypeManager.getRootResourceTypes()
Returns resource types that are at the top of the hierarchy (that is, they do not have any parent types).
|
| Modifier and Type | Method and Description |
|---|---|
Set<ResourceType<L>> |
ResourceTypeManager.getChildren(ResourceType<L> resourceType)
Returns the direct child types of the given resource type.
|
Set<ResourceType<L>> |
ResourceTypeManager.getParents(ResourceType<L> resourceType)
Returns the direct parent types of the given resource type.
|
Resource.Builder<L> |
Resource.Builder.type(ResourceType<L> type) |
| Modifier and Type | Method and Description |
|---|---|
TypeSets.Builder<L> |
TypeSets.Builder.resourceTypeSet(TypeSet<ResourceType<L>> typeSet) |
| Constructor and Description |
|---|
ResourceTypeManager(Collection<ResourceType<L>> allTypes)
A simpler constructor that accepts a simple collection of all resource types that will be stored
in this type manager.
|
ResourceTypeManager(Map<Name,TypeSet<ResourceType<L>>> resourceTypeSetMap,
Collection<Name> setsToUse)
Adds the given types to the manager, building a graph to represent the type hierarchy.
|
| Modifier and Type | Method and Description |
|---|---|
<N> void |
Discovery.discoverChildren(Resource<L> parent,
ResourceType<L> childType,
Session<L> session,
SamplingService<L> samplingService,
Consumer<Resource<L>> resourceConsumer)
Discovers children of the given type underneath the given parent.
|
Copyright © 2015–2017 Red Hat, Inc.. All rights reserved.