| Package | Description |
|---|---|
| org.hawkular.inventory.api | |
| org.hawkular.inventory.api.filters | |
| org.hawkular.inventory.api.model | |
| org.hawkular.inventory.base | |
| org.hawkular.inventory.base.spi |
| Modifier and Type | Method and Description |
|---|---|
CanonicalPath |
ValidationException.getDataPath() |
| Modifier and Type | Method and Description |
|---|---|
default <E extends AbstractElement<?,U>,U extends AbstractElement.Update,Single extends ResolvableToSingle<E,U>> |
Inventory.inspect(CanonicalPath path,
Class<Single> accessInterface)
Another generic version of the inspect method, this time using the
CanonicalPath to an element. |
Relationships.Single |
EmptyInventory.RelationshipsReadWrite.linkWith(String name,
CanonicalPath targetOrSource,
Map<String,Object> properties) |
void |
Log_$logger.wNoDataAssociatedWithEntity(CanonicalPath dataEntityPath) |
void |
Log.wNoDataAssociatedWithEntity(CanonicalPath dataEntityPath) |
| Constructor and Description |
|---|
ValidationException(CanonicalPath dataPath,
Iterable<ValidationException.ValidationMessage> messages,
Throwable cause) |
| Modifier and Type | Method and Description |
|---|---|
CanonicalPath |
Related.getEntityPath() |
CanonicalPath[] |
With.CanonicalPaths.getPaths() |
| Modifier and Type | Method and Description |
|---|---|
static Related |
Related.asTargetWith(CanonicalPath entityPath,
Relationships.WellKnown relationship)
An overloaded version of
Related.asTargetWith(org.hawkular.inventory.api.model.CanonicalPath, String) that uses
one of the Relationships.WellKnown as the name of the relationship. |
static Related |
Related.asTargetWith(CanonicalPath entityPath,
String relationship)
Specifies a filter for entities that are targets of a relationship with the specified entity.
|
static Defined |
Defined.by(CanonicalPath entity) |
static Incorporated |
Incorporated.by(CanonicalPath entity) |
static Contained |
Contained.in(CanonicalPath entityPath) |
static With.CanonicalPaths |
With.path(CanonicalPath path) |
static With.CanonicalPaths |
With.paths(CanonicalPath... paths) |
static Related |
Related.with(CanonicalPath entityPath,
Relationships.WellKnown relationship)
An overloaded version of
Related.with(org.hawkular.inventory.api.model.CanonicalPath, String) that uses one of
the Relationships.WellKnown as the name of the relationship. |
static Related |
Related.with(CanonicalPath entityPath,
String relationship)
Specifies a filter for entities that are sources of a relationship with the specified entity.
|
| Constructor and Description |
|---|
CanonicalPaths(CanonicalPath... paths) |
Related(CanonicalPath entityPath,
String relationshipName,
Related.EntityRole entityRole) |
Related(CanonicalPath entityPath,
String relationshipName,
String relationshipId,
Related.EntityRole entityRole) |
| Modifier and Type | Method and Description |
|---|---|
CanonicalPath |
RelativePath.applyTo(CanonicalPath path)
Applies this relative path on the provided canonical path.
|
CanonicalPath |
CanonicalPath.down() |
CanonicalPath |
CanonicalPath.down(int distance) |
static CanonicalPath |
CanonicalPath.fromPartiallyUntypedString(String path,
CanonicalPath initialPosition,
Class<?> intendedFinalType)
An overload of
Path.fromPartiallyUntypedString(String, TypeProvider) which uses the provided initial position
to figure out the possible type if is missing in the provided relative path. |
static CanonicalPath |
CanonicalPath.fromPartiallyUntypedString(String path,
Path.TypeProvider typeProvider) |
static CanonicalPath |
CanonicalPath.fromString(String path)
Creates a new path instance from the "serialized" slash-separated representation.
|
CanonicalPath |
CanonicalPath.Extender.get() |
CanonicalPath |
CanonicalPath.getLeaf()
If this path was created by going
up from another path, then this returns the bottom-most path
in such chain. |
CanonicalPath |
Relationship.Blueprint.getOtherEnd() |
CanonicalPath |
AbstractElement.getPath() |
CanonicalPath |
CanonicalPath.getRoot() |
CanonicalPath |
Relationship.getSource() |
CanonicalPath |
Relationship.getTarget() |
protected CanonicalPath |
CanonicalPath.newInstance(int startIdx,
int endIdx,
List<Path.Segment> segments) |
protected CanonicalPath |
CanonicalPath.Extender.newPath(int startIdx,
int endIdx,
List<Path.Segment> segments) |
CanonicalPath |
CanonicalPath.toCanonicalPath() |
abstract CanonicalPath |
Path.toCanonicalPath()
Tries to convert this path to a canonical path.
|
CanonicalPath |
RelativePath.toCanonicalPath()
Tries to convert this relative path to a canonical path.
|
CanonicalPath |
CanonicalPath.up() |
CanonicalPath |
CanonicalPath.up(int distance) |
| Modifier and Type | Method and Description |
|---|---|
Iterator<CanonicalPath> |
CanonicalPath.ascendingIterator() |
Iterator<CanonicalPath> |
CanonicalPath.descendingIterator() |
Iterator<CanonicalPath> |
CanonicalPath.iterator() |
static Path.Builder<CanonicalPath> |
CanonicalPath.of() |
| Modifier and Type | Method and Description |
|---|---|
CanonicalPath |
RelativePath.applyTo(CanonicalPath path)
Applies this relative path on the provided canonical path.
|
static Path |
Path.fromPartiallyUntypedString(String path,
CanonicalPath canonicalPathsOrigin,
CanonicalPath relativePathsOrigin,
Class<?> intendedFinalType)
This is mostly meant as a helper to REST API.
|
static CanonicalPath |
CanonicalPath.fromPartiallyUntypedString(String path,
CanonicalPath initialPosition,
Class<?> intendedFinalType)
An overload of
Path.fromPartiallyUntypedString(String, TypeProvider) which uses the provided initial position
to figure out the possible type if is missing in the provided relative path. |
static RelativePath |
RelativePath.fromPartiallyUntypedString(String path,
CanonicalPath initialPosition,
Class<?> intendedFinalType)
An overload of
Path.fromPartiallyUntypedString(String, TypeProvider) which uses the provided initial position
to figure out the possible type if is missing in the provided relative path. |
Relationship.Blueprint.Builder |
Relationship.Blueprint.Builder.withOtherEnd(CanonicalPath path) |
| Modifier and Type | Method and Description |
|---|---|
CanonicalPath |
InventoryBackend.extractCanonicalPath(E entityRepresentation)
Each element (including relationships) stores the canonical path to it.
|
| Modifier and Type | Method and Description |
|---|---|
E |
InventoryBackend.find(CanonicalPath element)
Tries to find an element at given canonical path.
|
E |
InventoryBackend.persist(CanonicalPath path,
Blueprint blueprint)
Persists a new entity with the provided assigned path.
|
Copyright © 2015 Red Hat, Inc.. All rights reserved.