| Package | Description |
|---|---|
| org.hawkular.inventory.api | |
| org.hawkular.inventory.api.model | |
| org.hawkular.inventory.base | |
| org.hawkular.inventory.base.spi |
| Modifier and Type | Method and Description |
|---|---|
static Relationships.Direction |
Relationships.Direction.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Relationships.Direction[] |
Relationships.Direction.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
Relationships.Direction |
Relationship.Blueprint.getDirection() |
| Modifier and Type | Method and Description |
|---|---|
Relationship.Blueprint.Builder |
Relationship.Blueprint.Builder.withDirection(Relationships.Direction direction) |
| Constructor and Description |
|---|
Blueprint(Relationships.Direction direction,
String name,
CanonicalPath otherEnd,
Map<String,Object> properties) |
| Modifier and Type | Method and Description |
|---|---|
static <E> void |
RelationshipRules.checkCreate(InventoryBackend<E> backend,
E origin,
Relationships.Direction direction,
Relationships.WellKnown relationship,
E target) |
static <E> void |
RelationshipRules.checkCreate(InventoryBackend<E> backend,
E origin,
Relationships.Direction direction,
String relationship,
E target) |
static <E> void |
RelationshipRules.checkDelete(InventoryBackend<E> backend,
E origin,
Relationships.Direction direction,
Relationships.WellKnown relationship,
E target) |
static <E> void |
RelationshipRules.checkDelete(InventoryBackend<E> backend,
E origin,
Relationships.Direction direction,
String relationship,
E target) |
| Constructor and Description |
|---|
Multiple(Relationships.Direction direction,
TraversalContext<BE,Relationship> context) |
| Modifier and Type | Method and Description |
|---|---|
Relationships.Direction |
SwitchElementType.getDirection() |
| Modifier and Type | Method and Description |
|---|---|
Set<E> |
InventoryBackend.getRelationships(E entity,
Relationships.Direction direction,
String... names)
Similar to
InventoryBackend.hasRelationship(Object, Relationships.Direction, String) but this method actually returns
the relationship objects. |
Iterator<E> |
InventoryBackend.getTransitiveClosureOver(E startingPoint,
String relationshipName,
Relationships.Direction direction)
Going from the starting poing, this will return an iterator over all elements that are connected to the starting
point using relationships with provided name and recursively down to the elements connected in the same way to
them.
|
boolean |
InventoryBackend.hasRelationship(E entity,
Relationships.Direction direction,
String relationshipName)
Checks whether there exists any relationship in given direction relative to the given entity with given name.
|
| Constructor and Description |
|---|
SwitchElementType(Relationships.Direction direction,
boolean fromEdge) |
Copyright © 2015 Red Hat, Inc.. All rights reserved.