Class AbstractBestPath
- java.lang.Object
-
- org.opendaylight.protocol.bgp.mode.spi.AbstractBestPath
-
- All Implemented Interfaces:
BestPath
- Direct Known Subclasses:
AddPathBestPath
public abstract class AbstractBestPath extends Object implements BestPath
-
-
Field Summary
Fields Modifier and Type Field Description protected BestPathState
state
-
Constructor Summary
Constructors Modifier Constructor Description protected
AbstractBestPath(BestPathState state)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected com.google.common.base.MoreObjects.ToStringHelper
addToStringAttributes(com.google.common.base.MoreObjects.ToStringHelper toStringHelper)
Attributes
getAttributes()
Attributes.BestPathState
getState()
boolean
isDepreferenced()
Return true if this path is depreferenced.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 Detail
-
state
protected final BestPathState state
-
-
Constructor Detail
-
AbstractBestPath
protected AbstractBestPath(BestPathState state)
-
-
Method Detail
-
addToStringAttributes
protected com.google.common.base.MoreObjects.ToStringHelper addToStringAttributes(com.google.common.base.MoreObjects.ToStringHelper toStringHelper)
-
getState
public final BestPathState getState()
-
getAttributes
public final Attributes 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.
-
-