| Modifier and Type | Field and Description |
|---|---|
static SegmentType |
SegmentType.ANY_ENTITY
Per convention, the
null value is interpreted as any subclass of
org.hawkular.inventory.api.model.Entity |
static SegmentType |
RelativePath.Up.SEGMENT_TYPE |
| Modifier and Type | Method and Description |
|---|---|
static SegmentType |
SegmentType.fastValueOf(String type)
|
static SegmentType |
SegmentType.fromElementType(Class<?> elementType)
Returns a
SegmentType corresponding to the given elementType or null if no corresponding
type can be found. |
SegmentType |
Path.Segment.getElementType() |
static SegmentType |
SegmentType.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SegmentType[] |
SegmentType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
static Set<SegmentType> |
SegmentType.getRelativeShortNames() |
| Modifier and Type | Method and Description |
|---|---|
static <R,P> R |
ElementTypeVisitor.accept(SegmentType entityType,
ElementTypeVisitor<R,P> visitor,
P parameter) |
Boolean |
Path.Extender.canExtendTo(SegmentType segmentType)
Checks whether this path can be extended by a segment of the provided type.
|
protected R |
ElementTypeVisitor.Simple.defaultAction(SegmentType elementType,
P parameter)
The default action executed from the visit methods.
|
RelativePath.Extender |
RelativePath.Extender.extend(SegmentType type,
String id) |
Path.Extender |
Path.Extender.extend(SegmentType type,
String id) |
CanonicalPath.Extender |
CanonicalPath.extend(SegmentType type,
String id)
Creates a new path by appending the provided segment to the current path.
|
CanonicalPath.Extender |
CanonicalPath.Extender.extend(SegmentType type,
String id) |
static Path |
Path.fromPartiallyUntypedString(String path,
CanonicalPath canonicalPathsOrigin,
CanonicalPath relativePathsOrigin,
SegmentType intendedFinalType)
This is mostly meant as a helper to REST API.
|
static RelativePath |
RelativePath.fromPartiallyUntypedString(String path,
CanonicalPath initialPosition,
SegmentType 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,
CanonicalPath initialPosition,
SegmentType intendedFinalType) |
| Constructor and Description |
|---|
HintedTypeProvider(SegmentType intendedFinalType,
Path.Extender extender)
Constructs a new instance.
|
Segment(SegmentType elementType,
String entityId) |
Copyright © 2014–2016 Red Hat, Inc.. All rights reserved.