L - the type of the protocol specific location, typically a subclass of NodeLocationpublic interface LocationResolver<L>
| Modifier and Type | Method and Description |
|---|---|
default AttributeLocation<L> |
absolutize(L base,
AttributeLocation<L> attributeLocation) |
L |
absolutize(L base,
L location)
Resolves the given
location relative to the given base and returns the resolved location. |
String |
applyTemplate(String nameTemplate,
L location,
String endpointName) |
boolean |
isParent(L parent,
L child) |
boolean |
matches(L query,
L location) |
L absolutize(L base, L location)
location relative to the given base and returns the resolved location. Note
that this method can eventually return location or base if the resolution would yield a Location
equivalent to any of the two.base - the base location to resolve location againstlocation - the location to resolvedefault AttributeLocation<L> absolutize(L base, AttributeLocation<L> attributeLocation)
Copyright © 2015 Red Hat, Inc.. All rights reserved.