Annotation Interface ConfigValue
Marks a field as a configuration value.
The field will be automatically populated from the config file.
-
Optional Element Summary
Optional Elements
-
Element Details
-
value
String valuePath to the value in the configuration file. Supports dot notation for nested values (e.g., "database.host"). If empty, uses the field name.- Returns:
- the configuration path
- Default:
""
-
required
boolean requiredWhether this value is required.- Returns:
- true if required, false otherwise
- Default:
false
-