public class PlatformLocationResolver extends Object implements LocationResolver<PlatformNodeLocation>
LocationResolver| Constructor and Description |
|---|
PlatformLocationResolver() |
| Modifier and Type | Method and Description |
|---|---|
PlatformNodeLocation |
absolutize(PlatformNodeLocation base,
PlatformNodeLocation location)
Resolves the given
location relative to the given base and returns the resolved location. |
String |
applyTemplate(String nameTemplate,
PlatformNodeLocation location,
String endpointName) |
boolean |
isParent(PlatformNodeLocation parent,
PlatformNodeLocation child) |
boolean |
matches(PlatformNodeLocation query,
PlatformNodeLocation location) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitabsolutizepublic PlatformNodeLocation absolutize(PlatformNodeLocation base, PlatformNodeLocation location)
LocationResolverlocation 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.absolutize in interface LocationResolver<PlatformNodeLocation>base - the base location to resolve location againstlocation - the location to resolvepublic boolean isParent(PlatformNodeLocation parent, PlatformNodeLocation child)
isParent in interface LocationResolver<PlatformNodeLocation>public boolean matches(PlatformNodeLocation query, PlatformNodeLocation location)
matches in interface LocationResolver<PlatformNodeLocation>public String applyTemplate(String nameTemplate, PlatformNodeLocation location, String endpointName)
applyTemplate in interface LocationResolver<PlatformNodeLocation>Copyright © 2015 Red Hat, Inc.. All rights reserved.