Annotation Interface Documented


@Target({METHOD,FIELD}) @Retention(RUNTIME) public @interface Documented
A generic annotation intended to be used for attaching documentation metadata to the getter methods of configuration properties.
Author:
Alex Bogdanovski [[email protected]]
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    Returns the category which this property is part of.
    Returns basic description of the config property.
    Returns the config property key (identifier).
    int
    Returns position number for sorting.
    Returns additional tags.
    Returns the data type of the config value.
    Returns a default or suggested value.
  • Element Details

    • category

      String category
      Returns the category which this property is part of.
      Returns:
      the category which this property is part of.
      Default:
      "main"
    • description

      String description
      Returns basic description of the config property.
      Returns:
      basic description of the config property.
      Default:
      ""
    • type

      Class<?> type
      Returns the data type of the config value.
      Returns:
      the data type of the config value.
      Default:
      java.lang.String.class
    • value

      String value
      Returns a default or suggested value.
      Returns:
      a default or suggested value.
      Default:
      ""
    • identifier

      String identifier
      Returns the config property key (identifier).
      Returns:
      the config property key (identifier).
      Default:
      ""
    • position

      int position
      Returns position number for sorting.
      Returns:
      position number for sorting.
      Default:
      2147483647
    • tags

      String[] tags
      Returns additional tags.
      Returns:
      additional tags.
      Default:
      {}