| Package | Description |
|---|---|
| org.hawkular.inventory.api | |
| org.hawkular.inventory.api.filters | |
| org.hawkular.inventory.api.model |
| Modifier and Type | Method and Description |
|---|---|
default <E extends Entity<?,?>,Single extends ResolvableToSingle<E>> |
Inventory.inspect(E entity,
Class<Single> accessInterface)
A generic version of the
inspect methods that accepts an entity and returns the access interface to it. |
| Modifier and Type | Method and Description |
|---|---|
Class<? extends Entity> |
EntityNotFoundException.getEntityType() |
| Modifier and Type | Method and Description |
|---|---|
Relationships.Single |
EmptyInventory.RelationshipsReadWrite.linkWith(Relationships.WellKnown name,
Entity targetOrSource,
Map<String,String> properties) |
Relationships.Single |
EmptyInventory.RelationshipsReadWrite.linkWith(String name,
Entity targetOrSource,
Map<String,String> properties) |
| Modifier and Type | Method and Description |
|---|---|
protected static EntityNotFoundException |
EmptyInventory.entityNotFound(Class<? extends Entity> entityClass) |
| Constructor and Description |
|---|
EntityAlreadyExistsException(Entity entity) |
RelationAlreadyExistsException(Entity entity) |
| Constructor and Description |
|---|
EntityNotFoundException(Class<? extends Entity> entityClass,
Filter[] filters) |
EntityNotFoundException(Class<? extends Entity> entityClass,
Filter[][] filters) |
EntityNotFoundException(Class<? extends Entity> entityClass,
Filter[] filters,
Throwable cause) |
RelationNotFoundException(Class<? extends Entity> sourceEntityType,
Filter[] filters) |
RelationNotFoundException(Class<? extends Entity> sourceEntityType,
Filter[][] filters) |
RelationNotFoundException(Class<? extends Entity> sourceEntityType,
String nameOrId,
Filter[][] filters,
String message,
Throwable cause) |
RelationNotFoundException(Class<? extends Entity> sourceEntityType,
String nameOrId,
Filter[] filters,
String message,
Throwable cause) |
RelationNotFoundException(Class<? extends Entity> sourceEntityType,
String nameOrId,
Filter[] filters,
Throwable cause) |
| Modifier and Type | Class and Description |
|---|---|
class |
Contained<T extends Entity>
A helper class to create filters on the "contains" relationship.
|
class |
Defined<T extends Entity>
A helper class to create filters on the "defines" relationship.
|
class |
Owned<T extends Entity>
A helper class to create filters on the "owns" relationship.
|
class |
Related<T extends Entity>
Defines a filter on entities having specified relationship.
|
| Modifier and Type | Method and Description |
|---|---|
static <U extends Entity> |
Related.asTargetWith(U entity,
Relationships.WellKnown relationship)
An overloaded version of
Related.asTargetWith(org.hawkular.inventory.api.model.Entity, String) that uses one of
the Relationships.WellKnown as the name of the relationship. |
static <U extends Entity> |
Related.asTargetWith(U entity,
String relationship)
Specifies a filter for entities that are targets of a relationship with the specified entity.
|
static <U extends Entity> |
Related.with(U entity,
Relationships.WellKnown relationship)
An overloaded version of
Related.with(org.hawkular.inventory.api.model.Entity, String) that uses one of the
Relationships.WellKnown as the name of the relationship. |
static <U extends Entity> |
Related.with(U entity,
String relationship)
Specifies a filter for entities that are sources of a relationship with the specified entity.
|
| Modifier and Type | Method and Description |
|---|---|
static Filter[] |
Filter.pathTo(Entity<?,?> entity) |
| Modifier and Type | Method and Description |
|---|---|
static RelationWith.SourceOfType |
RelationWith.sourceOfType(Class<? extends Entity> type) |
static RelationWith.TargetOfType |
RelationWith.targetOfType(Class<? extends Entity> type) |
static With.Types |
With.type(Class<? extends Entity> type) |
| Modifier and Type | Class and Description |
|---|---|
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 |
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 |
|---|---|
Entity |
Relationship.getSource() |
Entity |
Relationship.getTarget() |
| Constructor and Description |
|---|
Relationship(String id,
String name,
Entity source,
Entity target) |
Relationship(String id,
String name,
Entity source,
Entity target) |
Relationship(String id,
String name,
Entity source,
Entity target,
Map<String,Object> properties) |
Relationship(String id,
String name,
Entity source,
Entity target,
Map<String,Object> properties) |
Copyright © 2015 Red Hat, Inc.. All rights reserved.