Annotation Interface ConvertWith


@Retention(RUNTIME) @Target({FIELD,PARAMETER}) @Documented public @interface ConvertWith
Defines a Converter to be used for conversion of a config property. This will override the default converter on the target config item.
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    Class<? extends org.eclipse.microprofile.config.spi.Converter<?>>
    Specify the relative name of the configuration item.
  • Element Details

    • value

      Class<? extends org.eclipse.microprofile.config.spi.Converter<?>> value
      Specify the relative name of the configuration item.
      Returns:
      the name