Class ProcessConfiguration


  • public class ProcessConfiguration
    extends Object
    Methods to generate and store PLANit configuration objects from the configuration object in the XML demand input file.
    Author:
    gman6028
    • Constructor Detail

      • ProcessConfiguration

        public ProcessConfiguration()
    • Method Detail

      • generateAndStoreConfigurationData

        public static void generateAndStoreConfigurationData​(Demands demands,
                                                             org.planit.xml.generated.XMLElementDemandConfiguration demandconfiguration,
                                                             PhysicalNetwork physicalNetwork,
                                                             InputBuilderListener inputBuilderListener)
                                                      throws PlanItException
        Sets up all the configuration data from the XML demands file
        Parameters:
        demands - the Demands object
        demandconfiguration - the generated XMLElementDemandConfiguration object containing the data from the XML input file
        physicalNetwork - the physical network
        inputBuilderListener - parser to be updated
        Throws:
        PlanItException - thrown if there is a duplicate external Id found for any component