Annotation Type 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
      java.lang.String desc
      Description of field.
    • Optional Element Summary

      Optional Elements 
      Modifier and Type Optional Element Description
      java.lang.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 Detail

      • desc

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

        java.lang.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:
        tigase.kernel.beans.config.ConfigFieldType.Plain