Package tigase.kernel.beans.config

# Annotation Interface ConfigField

@Target(FIELD) @Retention(RUNTIME) @Inherited @Documented public @interface ConfigField
Annotation to define configurable field.

- ## Required Element Summary

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

- ## Optional Element Summary

  Optional Elements
  Modifier and Type
  Optional Element
  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.
  `ConfigFieldType`
  `type`

- ## Element Details

  - ### desc

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

- - ### alias

    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

    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

  - ### type

    ConfigFieldType type
    Default:
      Plain