ConfigurationProviderCollectionConfigurator

Deprecated

This API is supposed to only be used internally by IVI and should not be used directly. It may change in the future without providing backward compatibility.

Interface to configure the configuration providers of type C of the IVI application.

The order of the configuration providers defines the order in which the providers are scanned at runtime when a configuration value is obtained.

Types

Link copied to clipboard

Interface to insert configuration providers before or after another.

Functions

Link copied to clipboard
abstract fun addAllFirst(configurationProviders: List<C>)

Adds all the given configurationProviders to the beginning of the list.

Link copied to clipboard
abstract fun addAllLast(configurationProviders: List<C>)

Adds all the given configurationProviders to the end of the list.

Link copied to clipboard
abstract fun addFirst(vararg configurationProvider: C)

Adds the given configurationProvider to the beginning of the list.

Link copied to clipboard
abstract fun addLast(vararg configurationProvider: C)

Adds the given configurationProvider to the end of the list.

Link copied to clipboard
abstract fun after(configurationProvider: C, action: Action<ConfigurationProviderCollectionConfigurator.InsertConfigurator<C>>)

Adds the configuration providers added through action after configurationProvider.

Link copied to clipboard
abstract fun before(configurationProvider: C, action: Action<ConfigurationProviderCollectionConfigurator.InsertConfigurator<C>>)

Adds the configuration providers added through action before configurationProvider.

Link copied to clipboard
abstract fun remove(vararg configurationProvider: C)

Removes the given configurationProvider.

Link copied to clipboard
abstract fun replace(old: C, new: C)

Replaces old configuration provider with new.

Link copied to clipboard
abstract fun replaceAll(configurationProviders: List<C>)

Replaces all configured configuration providers with the configurationProviders.