Class TopologyBuilder


  • public class TopologyBuilder
    extends Object
    The type Topology builder.
    • Constructor Detail

      • TopologyBuilder

        public TopologyBuilder​(int networkCount)
        Instantiates a new Topology builder.
        Parameters:
        networkCount - the network count
    • Method Detail

      • getCurrentCreator

        public String getCurrentCreator()
      • withNetwork

        public NetworkBuilder withNetwork​(String name)
        Instantiates new NetworkBuilder.
        Parameters:
        name - the network name
        Returns:
        the network builder
      • build

        public Topology build()
        Builds topology.
        Returns:
        the topology
      • withRoutes

        public CalcRouteBuilder withRoutes()
        Instantiates new CalcRouteBuilder.
        Returns:
        the calc route builder
      • withRouters

        public RouterBuilder withRouters()
        Instantiates new CalcRouteBuilder.
        Returns:
        the router builder
      • getTopology

        public Topology getTopology()