Class AbstractBestPath

java.lang.Object
org.opendaylight.protocol.bgp.mode.spi.AbstractBestPath
All Implemented Interfaces:
BestPath

@NonNullByDefault public abstract class AbstractBestPath extends Object implements BestPath
  • Field Details

  • Constructor Details

    • AbstractBestPath

      protected AbstractBestPath(BestPathState state)
  • Method Details

    • getState

      public final BestPathState getState()
    • getAttributes

      public final org.opendaylight.yangtools.yang.data.api.schema.ContainerNode getAttributes()
      Description copied from interface: BestPath
      Returns the path attributes.
      Specified by:
      getAttributes in interface BestPath
      Returns:
      the path attributes
    • isDepreferenced

      public final boolean isDepreferenced()
      Description copied from interface: BestPath
      Returns True if this path is depreferenced.
      Specified by:
      isDepreferenced in interface BestPath
      Returns:
      True if this path is depreferenced
    • hashCode

      public abstract int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public abstract boolean equals(@Nullable Object obj)
      Overrides:
      equals in class Object
    • toString

      public final String toString()
      Overrides:
      toString in class Object
    • addToStringAttributes

      protected com.google.common.base.MoreObjects.ToStringHelper addToStringAttributes(com.google.common.base.MoreObjects.ToStringHelper toStringHelper)