Interface CockpitConfigurationAdapter<CONFIG>

    • Method Detail

      • getSupportedType

        java.lang.Class<CONFIG> getSupportedType()
        Returns the type of configuration element this adapter supports.
        Returns:
        type of configuration element this adapter supports
      • adaptBeforeMerge

        default CONFIG adaptBeforeMerge​(ConfigContext context,
                                        CONFIG config)
                                 throws CockpitConfigurationException
        Adapts given cockpit configuration element just after it is loaded and before it is merged to other subsequent configurations.
        Parameters:
        context - configuration context
        config - configuration element
        Returns:
        adapted cockpit configuration element
        Throws:
        CockpitConfigurationException - if something went wrong