Interface FeatureKeyMigrationnExtension

All Superinterfaces:
IFeatureKeyComputer
All Known Implementing Classes:
BslContextDefKeyComputer, BslKeyComputer, BslProjectConverterKeyComputer, ProjectBslKeyComputer

public interface FeatureKeyMigrationnExtension extends IFeatureKeyComputer
The Interface to extend migrationn of feature key from old to new by FeatureValue.
  • Method Details

    • isSupport

      boolean isSupport(ContextTranslationKey contexTranslationKey)
      Checks if it is support the feature value.
      Parameters:
      contexTranslationKey - the context translation key, cannot be null.
      Returns:
      true, if it is support this translation key to migrate it
    • getOldFeatureKeys

      Collection<FeatureKey> getOldFeatureKeys(FeatureKey key)
      Gets the old feature keys for the feature key of FeatureValue if migration may be applied.
      Parameters:
      key - the key, cannot be null.
      Returns:
      the old feature keys