Class PathChoiceBuilder<T extends PathChoice>

    • Field Detail

      • LOGGER

        protected static final Logger LOGGER
        the logger
    • Constructor Detail

      • PathChoiceBuilder

        protected PathChoiceBuilder​(Class<T> pathChoiceClass,
                                    IdGroupingToken projectToken,
                                    InputBuilderListener inputBuilderListener)
                             throws PlanItException
        Constructor
        Parameters:
        pathChoiceClass - class to build
        projectToken - idGrouping token
        inputBuilderListener - the input builder listener
        Throws:
        PlanItException - thrown if error
    • Method Detail

      • createPathChoiceInstance

        protected T createPathChoiceInstance()
                                      throws PlanItException
        Factory method to create the instance of the desired type
        Returns:
        instance of traffic assignment
        Throws:
        PlanItException - thrown when error
      • buildSubComponents

        protected abstract void buildSubComponents​(T pathChoiceInstance)
                                            throws PlanItException
        call to build and configure all sub components of this builder
        Parameters:
        pathChoiceInstance - to build sub components for
        Throws:
        PlanItException - thrown if error