Annotation Interface ComponentBuilder


@Retention(RUNTIME) @Target(TYPE) @Documented @Inherited public @interface ComponentBuilder
Enables annotation-driven configuration of ComponentConfigBuilder and ComponentDataBuilder implementations. If the target class implements both builder interfaces, then only the String id of the component needs to be specified. Otherwise, the annotation must specify whether the builder is a config builder or a data builder.
Supported API: true

Extendable: false
See Also:
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    The component IDs that this builder supports

    Supported API: true
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    If the target class only implements one of the builder interfaces, then you must specify the type.
  • Element Details

    • value

      String[] value
      The component IDs that this builder supports

      Supported API: true
      Returns:
      String
    • type

      If the target class only implements one of the builder interfaces, then you must specify the type.

      Supported API: true
      Returns:
      ComponentBuilderType
      Default:
      CONFIG_AND_DATA