Package com.helger.config.fallback
Interface IConfigKeyOutdatedNotifier
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Sanity callback interface to notify about the usage of an outdated
configuration key.
- Since:
- 10.2.0
- Author:
- Philip Helger
-
Method Summary
Modifier and TypeMethodDescriptionvoidonOutdatedConfigurationKey(String sOldConfigKey, String sNewConfigKey) Called to indicate that an outdated configuration key was used.
-
Method Details
-
onOutdatedConfigurationKey
void onOutdatedConfigurationKey(@Nonnull @Nonempty String sOldConfigKey, @Nonnull @Nonempty String sNewConfigKey) Called to indicate that an outdated configuration key was used.- Parameters:
sOldConfigKey- The outdated configuration key used. Neithernullnor empty.sNewConfigKey- The new and corrected configuration key used. Neithernullnor empty.
-