@Retention(value=RUNTIME)
@Target(value=TYPE)
public @interface ConfigHolder
@Config values in it.Allows custom classes to represent inner objects of given config.
ConfigHolder#value,
Config| Modifier and Type | Optional Element and Description |
|---|---|
boolean |
useAll
If
true then instead of searching for fields, marked as @Config, all the fields without this
annotation will be treated as if they have an @Config above them. |
boolean |
value
If
true then types of @Config fields, which also have this annotation will be scanned,
and their paths will be appended to paths of those fields. |
public abstract boolean value
true then types of @Config fields, which also have this annotation will be scanned,
and their paths will be appended to paths of those fields.This means you could represent a HOCON object as a class.
true to scan inner holders.