Class DisplayNameResolver

java.lang.Object
io.debezium.metadata.DisplayNameResolver

public class DisplayNameResolver extends Object
Derives human-readable display names from fully-qualified component class names.

The algorithm extracts the simple class name, strips mechanical suffixes based on the component type, splits CamelCase into words, applies brand-name merging and abbreviation expansion, then assembles a display name with an appropriate prefix and type suffix.

  • Field Details

  • Constructor Details

    • DisplayNameResolver

      private DisplayNameResolver()
  • Method Details

    • resolve

      public static String resolve(String className, String type)
      Derives a human-readable display name from a fully-qualified class name and component type.
      Parameters:
      className - the fully-qualified class name
      type - the component type (e.g. "source-connector", "server-sink", "transformation")
      Returns:
      a human-readable display name
    • stripTypeSuffix

      private static String stripTypeSuffix(String simpleName, String type)
    • splitCamelCase

      static List<String> splitCamelCase(String name)
    • mergeBrandNames

      static List<String> mergeBrandNames(List<String> words)