tigase.kernel.beans.config

## Annotation Type ConfigField

-     @Target(value=FIELD)
       @Retention(value=RUNTIME)
       @Inherited
       @Documented
      public @interface ConfigField

  Annotation to define configurable field.

- - ### Required Element Summary

    Required Elements
    Modifier and Type | Required Element and Description
    --- | ---
    `String` | `desc` Description of field.

  - ### Optional Element Summary

    Optional Elements
    Modifier and Type | Optional Element and Description
    --- | ---
    `String` | `alias` Makes alias of "component root level" property in config file.
    `boolean` | `allowAliasFromParent` Allows config to be set on one of parent levels of configuration using alias.

- - ### Element Detail

    - #### desc

          public abstract String desc

      Description of field. May be used in all human readable forms.
      Returns:
        description of field.

  - - #### alias

          public abstract String alias

      Makes alias of "component root level" property in config file.

      Not only `component/bean/property=value` will be used but also `component/alias=value`.

      Returns:
        alias of config field.
      Default:
        ""

  - - #### allowAliasFromParent

          public abstract boolean allowAliasFromParent

      Allows config to be set on one of parent levels of configuration using alias. If not set to `true`, it is possible to use alias only on the config level of the bean.
      Default:
        true

Copyright © 2004–2020 "Tigase, Inc.". All rights reserved.