Interface DisjointPath

  • All Superinterfaces:
    Annotated, Link, NetworkResource, Path, Projectable, Provided
    All Known Implementing Classes:
    DefaultDisjointPath

    public interface DisjointPath
    extends Path
    Representation of a contiguous directed path in a network. Path comprises of a sequence of links, where adjacent links must share the same device, meaning that destination of the source of one link must coincide with the destination of the previous link.
    • Method Detail

      • primary

        Path primary()
        Gets primary path.
        Returns:
        primary path
      • backup

        Path backup()
        Gets secondary path.
        Returns:
        secondary path, or null if there is no secondary path available.