| Package | Description |
|---|---|
| org.hawkular.inventory.api.filters |
| 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.
|
| Modifier and Type | Method and Description |
|---|---|
static Related<?> |
Related.asTargetBy(Relationships.WellKnown relationship)
Overloaded version of
asTargetBy(String) that uses the
Relationships.WellKnown as the name of the relationship. |
static Related<?> |
Related.asTargetBy(String relationshipName)
Creates a filter for entities that are targets of at least one relationship with the specified name.
|
static <U extends Entity> |
Related.asTargetWith(U entity,
Relationships.WellKnown relationship)
An overloaded version of
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 Related<?> |
Related.by(Relationships.WellKnown relationship)
Overloaded version of
by(String) that uses the
Relationships.WellKnown as the name of the relationship. |
static Related<?> |
Related.by(String relationshipName)
Creates a filter for entities that are sources of at least one relationship with the specified name.
|
static Related<?> |
Related.byRelationshipWithId(String relationshipId)
Creates a filter for entities that are sources of at least one relationship with the specified id.
|
static <U extends Entity> |
Related.with(U entity,
Relationships.WellKnown relationship)
An overloaded version of
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.
|
Copyright © 2015 Red Hat, Inc.. All rights reserved.