| 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(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 |
|---|---|
void |
EndpointService.discoverChildren(L parentLocation,
ResourceType<L> childType)
Discovers child resources of the given
parentLocation, puts them to EndpointService.resourceManager and triggers
InventoryListener.resourcesAdded(InventoryEvent). |
<N> void |
Discovery.discoverChildren(Resource<L> parent,
ResourceType<L> childType,
Session<L> session,
Consumer<Resource<L>> resourceConsumer) |
Copyright © 2015 Red Hat, Inc.. All rights reserved.