-
@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 [alex@erudika.com]
-
-
Element Detail
-
category
String category
- Returns:
- the category which this property is part of.
- Default:
- "main"
-
-
-
description
String description
- Returns:
- basic description of the config property.
- Default:
- ""
-
-
-
type
Class<?> type
- Returns:
- the data type of the config value.
- Default:
- java.lang.String.class
-
-
-
value
String value
- Returns:
- a default or suggested value.
- Default:
- ""
-
-
-
identifier
String identifier
- Returns:
- the config property key (identifier).
- Default:
- ""
-
-
-
tags
String[] tags
- Returns:
- additional tags.
- Default:
- {}
-
-