Interface CockpitConfigurationFallbackStrategy<CONFIG>

    • Method Detail

      • loadFallbackConfiguration

        CONFIG loadFallbackConfiguration​(ConfigContext context,
                                         java.lang.Class<CONFIG> configurationType)
        Generates and loads a fallback configuration for the given context and configuration type.
        Parameters:
        context - configuration context
        configurationType - type of configuration to be loaded
        Returns:
        created fallback configuration or null if the strategy can not create a fallback configuration for the given context and type