Interface ConfigurationService.Converter<T>

Type Parameters:
T - The Java type of the converted value
Enclosing interface:
ConfigurationService

public static interface ConfigurationService.Converter<T>
Simple conversion contract for converting an untyped object to a specified type.
  • Method Summary

    Modifier and Type
    Method
    Description
    @NonNull T
    convert(Object value)
    Convert an untyped Object reference to the Converter's type.
  • Method Details

    • convert

      @NonNull T convert(Object value)
      Convert an untyped Object reference to the Converter's type.
      Parameters:
      value - The untyped value
      Returns:
      The converted (typed) value.