Class AbstractConfigProducerRoot

    • Field Detail

      • id2producer

        protected final java.util.Map<java.lang.String,​ConfigProducer> id2producer
        The ConfigProducers contained in this model indexed by config id
    • Constructor Detail

      • AbstractConfigProducerRoot

        public AbstractConfigProducerRoot​(java.lang.String rootConfigId)
    • Method Detail

      • freezeModelTopology

        public void freezeModelTopology()
        Freezes the parent - child connections of the model and sets information derived from the topology.
      • getConfigProducer

        public java.util.Optional<ConfigProducer> getConfigProducer​(java.lang.String configId)
        Returns the ConfigProducer with the given id if such configId exists.
        Parameters:
        configId - The configId, e.g. "search.0/tld.0"
        Returns:
        ConfigProducer with the given configId
      • getService

        public java.util.Optional<Service> getService​(java.lang.String configId)
        Returns the Service with the given id if such configId exists and it belongs to a Service ConfigProducer.
        Parameters:
        configId - The configId, e.g. "search.0/tld.0"
        Returns:
        Service with the given configId