| Package | Description |
|---|---|
| org.hawkular.inventory.api.model |
| Modifier and Type | Interface and Description |
|---|---|
interface |
InventoryStructure<Root extends Entity.Blueprint>
Represents the structure of an inventory.
|
static class |
InventoryStructure.Builder<Root extends Entity.Blueprint> |
static class |
InventoryStructure.Offline<Root extends Entity.Blueprint>
Represents the structure of the inventory off-line, without access to an inventory instance.
|
| Modifier and Type | Class and Description |
|---|---|
static class |
DataEntity.Blueprint<DR extends DataRole> |
static class |
Environment.Blueprint |
static class |
Feed.Blueprint |
static class |
Metric.Blueprint
Data required to create a new metric.
|
static class |
MetricType.Blueprint
Data required to create a new metric type.
|
static class |
OperationType.Blueprint |
static class |
Resource.Blueprint
Data required to create a resource.
|
static class |
ResourceType.Blueprint
Data required to create a resource type.
|
static class |
Tenant.Blueprint |
| Modifier and Type | Field and Description |
|---|---|
Class<? extends Entity.Blueprint> |
InventoryStructure.EntityType.blueprintType |
| Modifier and Type | Method and Description |
|---|---|
static <R extends Entity.Blueprint> |
InventoryStructure.Offline.copy(InventoryStructure<R> other) |
static <R extends Entity.Blueprint> |
InventoryStructure.Offline.copy(InventoryStructure<R> other,
boolean withAttachments) |
default <E extends Entity,B extends Entity.Blueprint> |
InventoryStructure.getChildNodes(RelativePath parent,
Class<E> childType) |
<E extends Entity,B extends Entity.Blueprint> |
InventoryStructure.getChildren(RelativePath parent,
Class<E> childType)
Returns the direct children of given type under the supplied path to the parent entity, which is relative to some
root entity for which this structure was instantiated.
|
<E extends Entity,B extends Entity.Blueprint> |
InventoryStructure.Offline.getChildren(RelativePath parent,
Class<E> childType) |
static <B extends Entity.Blueprint> |
InventoryStructure.of(B root)
Shortcut method, exactly identical to calling
InventoryStructure.Offline.of(Entity.Blueprint). |
static <B extends Entity.Blueprint> |
InventoryStructure.of(B root,
Object attachment)
Shortcut method, exactly identical to calling
InventoryStructure.Offline.of(Entity.Blueprint, Object). |
static <R extends Entity.Blueprint> |
InventoryStructure.Offline.of(R root) |
static <R extends Entity.Blueprint> |
InventoryStructure.Offline.of(R root,
Object attachment) |
| Modifier and Type | Method and Description |
|---|---|
Entity.Blueprint |
InventoryStructure.get(RelativePath path)
Gets a blueprint on the given path.
|
Entity.Blueprint |
InventoryStructure.Offline.get(RelativePath path) |
Entity.Blueprint |
InventoryStructure.AbstractBuilder.getBlueprint() |
Entity.Blueprint |
InventoryStructure.FullNode.getEntity() |
| Modifier and Type | Method and Description |
|---|---|
default Stream<Entity.Blueprint> |
InventoryStructure.getAllChildren(RelativePath parent)
Returns all direct children of the specified parent.
|
| Modifier and Type | Method and Description |
|---|---|
This |
InventoryStructure.AbstractBuilder.addChild(Entity.Blueprint child)
Adds a new child to this entity without the possibility to add further grand-children to the child.
|
This |
InventoryStructure.AbstractBuilder.addChild(Entity.Blueprint child,
Object attachment) |
This |
InventoryStructure.AbstractBuilder.replace(Entity.Blueprint blueprint) |
This |
InventoryStructure.AbstractBuilder.replace(Entity.Blueprint blueprint,
Object attachment)
Replaces the blueprint on this position in the structure with another.
|
InventoryStructure.ChildBuilder<This> |
InventoryStructure.AbstractBuilder.startChild(Entity.Blueprint child)
Equivalent to calling
startChilld(child, null). |
InventoryStructure.ChildBuilder<This> |
InventoryStructure.AbstractBuilder.startChild(Entity.Blueprint child,
Object childAttachment)
Starts building a new child of the currently built entity.
|
| Constructor and Description |
|---|
FullNode(Entity.Blueprint entity,
Object attachment) |
Copyright © 2014–2017 Red Hat, Inc.. All rights reserved.