Interface ValueExporterRegistry.CodecExporter<S,T>

Type Parameters:
S - The source configurable value type.
T - The target static value type.
Enclosing class:
ValueExporterRegistry
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 static interface ValueExporterRegistry.CodecExporter<S,T>
Functional contract for reconstructing a static LevelBasedValue instance from a parsed configurable instance during DFU codec evaluation.
  • Method Summary

    Modifier and Type
    Method
    Description
    exportFrom(S source)
    Converts a parsed configurable value instance into its static equivalent using its default values.
  • Method Details

    • exportFrom

      T exportFrom(S source)
      Converts a parsed configurable value instance into its static equivalent using its default values.
      Parameters:
      source - The parsed configurable source instance.
      Returns:
      The reconstructed static target instance.