Annotation Interface ConfigurationExtension


@Target(TYPE) @Retention(RUNTIME) @Documented public @interface ConfigurationExtension
This annotation can only be applied to a class that is either marked with ConfigurationRoot or the superclass is marked with ConfigurationRoot, Config.

It indicates that this is a configuration extension that is used to enrich another ConfigurationRoot or Config with more parameters. Can be used from a different module. Any extensions are allowed for any configuration.

NOTE: Field name collisions are not allowed.

See Also:
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    boolean
    Controls whether this configuration is part of the public configuration or is hidden from the end user.
  • Element Details

    • internal

      boolean internal
      Controls whether this configuration is part of the public configuration or is hidden from the end user. An extension is public by default.
      Default:
      false