Class ConfigModelRepo

    • Constructor Detail

      • ConfigModelRepo

        public ConfigModelRepo()
    • Method Detail

      • get

        public ConfigModel get​(java.lang.String id)
        Returns a config model for a given id
        Parameters:
        id - the id of the model to return
        Returns:
        the model, or none if a model with this id is not present in this
      • iterator

        public java.util.Iterator<ConfigModel> iterator()
        Returns the models in this as an iterator
        Specified by:
        iterator in interface java.lang.Iterable<ConfigModel>
      • asMap

        public java.util.Map<java.lang.String,​ConfigModel> asMap()
        Returns a read-only view of the config model instances of this
      • prepareConfigModels

        public void prepareConfigModels​(DeployState deployState)
        Initialize part 2.: Prepare all config models for starting. Must be called after plugins are loaded and frozen.
      • getModels

        public <T extends ConfigModel> java.util.List<T> getModels​(java.lang.Class<T> modelClass)
      • getClients

        public Clients getClients()
      • getRouting

        public Routing getRouting()
      • getContent

        public Content getContent()