Annotation Interface DefaultValue


@Retention(RUNTIME) @Target({RECORD_COMPONENT,FIELD}) public @interface DefaultValue
Provides a string default value when no configuration value exists for a record component.

The default is interpolated and converted in the same way as a loaded string value.

  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    Returns the default string value.
  • Element Details

    • value

      String value
      Returns the default string value.
      Returns:
      default value