Annotation Type Path
-
@Retention(RUNTIME) @Target({FIELD,TYPE}) public @interface PathIndicates the path, in the config, of the annotated element. UnlikeAdvancedPath, Path accepts a simple String, so it's not possible to use dots in key names (because dots are interpreted as a separator between each key). If you have a complicated path with dots in key names, useAdvancedPathinstead of Path.
-
-
Required Element Summary
Required Elements Modifier and Type Required Element Description java.lang.StringvalueThe path of the value in the configuration.
-
-
-
Element Detail
-
value
java.lang.String value
The path of the value in the configuration. Each key is separated by a dot.Use
AdvancedPathif you have a key that contains dots.- Returns:
- the path in the config
-
-