Interface DataComponentValueConverterRegistry.Provider

Enclosing class:
DataComponentValueConverterRegistry

public static interface DataComponentValueConverterRegistry.Provider
A provider for data component value converters.
Since:
4.17.0
  • Method Details

    • id

      @NotNull @NotNull Key id()
      An identifier for this provider.
      Returns:
      the provider id
      Since:
      4.17.0
    • conversions

      @NotNull @NotNull Iterable<DataComponentValueConverterRegistry.Conversion<?,?>> conversions()
      Return conversions available from this provider.

      Conversions may only be queried once at application initialization, so changes to the result of this method may not have any effect.

      Returns:
      the conversions available
      Since:
      4.17.0