Class ContainerModel


  • public class ContainerModel
    extends ConfigModel
    A model of a container cluster. TODO: Add type parameter for CLUSTER instead of using wildcard '? extends Container'
    Author:
    Tony Vaagenes
    • Field Detail

      • DOCPROC_RESERVED_NAME

        public static final java.lang.String DOCPROC_RESERVED_NAME
        See Also:
        Constant Field Values
    • Method Detail

      • prepare

        public void prepare​(ConfigModelRepo plugins,
                            DeployState deployState)
        Description copied from class: ConfigModel
        Prepares this model to start serving config requests, possibly using properties of other models. The framework will call this method after models have been built. The model should finalize its configurations that depend on other models in this step. This default implementation does nothing.
        Overrides:
        prepare in class ConfigModel
        Parameters:
        plugins - The ConfigModelRepo of the system model
      • initialize

        public void initialize​(ConfigModelRepo configModelRepo)
        Description copied from class: ConfigModel
        Initializes this model. All inter-model independent initialization is done by implementing this method. The model will be made available to dependent models by the framework when this returns.

        TODO: Remove this method, as this is now done by the model builders. This default implementation does nothing.

        Overrides:
        initialize in class ConfigModel
        Parameters:
        configModelRepo - The ConfigModelRepo of the VespaModel