Interface ConfigCodec<T>

Type Parameters:
T - Java value type represented by the codec

public interface ConfigCodec<T>
Runtime-recognized representation contract for a typed configuration value.

Use only codecs provided by ConfigCodecs. The runtime validates the identifier against its closed supported set; implementing this interface does not extend persistence support.

  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the stable runtime-recognized type identifier.
  • Method Details

    • typeId

      String typeId()
      Returns the stable runtime-recognized type identifier.
      Returns:
      non-null codec identifier