Class AbstractConfig<Config_ extends AbstractConfig<Config_>>

    • Constructor Detail

      • AbstractConfig

        public AbstractConfig()
    • Method Detail

      • inherit

        public abstract Config_ inherit​(Config_ inheritedConfig)
        Inherits each property of the inheritedConfig unless that property (or a semantic alternative) is defined by this instance (which overwrites the inherited behaviour).

        After the inheritance, if a property on this AbstractConfig composition is replaced, it should not affect the inherited composition instance.

        Parameters:
        inheritedConfig - never null
        Returns:
        this
      • copyConfig

        public abstract Config_ copyConfig()
        Typically implemented by constructing a new instance and calling inherit(AbstractConfig) on it
        Returns:
        new instance