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.

@FunctionalInterface public interface IConfigKeyOutdatedNotifier
Sanity callback interface to notify about the usage of an outdated configuration key.
Since:
10.2.0
Author:
Philip Helger
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    onOutdatedConfigurationKey(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. Neither null nor empty.
      sNewConfigKey - The new and corrected configuration key used. Neither null nor empty.