public interface TopologyPath
| Modifier and Type | Method and Description |
|---|---|
void |
annotate(TopologyLink link,
String label)
Annotates the link with the specified label.
|
String |
annotation(TopologyLink link)
Retrieves the link annotation.
|
TopologyNode |
dst()
Get the last node of the path.
|
List<TopologyLink> |
links()
Returns the set of links that form the path.
|
TopologyNode |
src()
Get the first node of the path.
|
TopologyNode src()
TopologyNode dst()
List<TopologyLink> links()
void annotate(TopologyLink link, String label)
link - link to be annotatedlabel - annotation labelString annotation(TopologyLink link)
link - link to be queriedCopyright © 2014. All Rights Reserved.