Class AbstractBestPath
java.lang.Object
org.opendaylight.protocol.bgp.mode.spi.AbstractBestPath
- All Implemented Interfaces:
BestPath
- Direct Known Subclasses:
AddPathBestPath
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected com.google.common.base.MoreObjects.ToStringHelper
addToStringAttributes
(com.google.common.base.MoreObjects.ToStringHelper toStringHelper) final org.opendaylight.yangtools.yang.data.api.schema.ContainerNode
Attributes.final BestPathState
getState()
final boolean
Return true if this path is depreferenced.final String
toString()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.opendaylight.protocol.bgp.mode.api.BestPath
getPathId, getPeerId, getRouterId
-
Field Details
-
state
-
-
Constructor Details
-
AbstractBestPath
-
-
Method Details
-
addToStringAttributes
protected com.google.common.base.MoreObjects.ToStringHelper addToStringAttributes(com.google.common.base.MoreObjects.ToStringHelper toStringHelper) -
getState
-
getAttributes
public final org.opendaylight.yangtools.yang.data.api.schema.ContainerNode getAttributes()Description copied from interface:BestPath
Attributes.- Specified by:
getAttributes
in interfaceBestPath
- Returns:
- the path attributes
-
isDepreferenced
public final boolean isDepreferenced()Description copied from interface:BestPath
Return true if this path is depreferenced.- Specified by:
isDepreferenced
in interfaceBestPath
- Returns:
- True if this path is depreferenced.
-
toString
-