Annotation Interface Option.Configured
- Enclosing class:
Option
Mark a prototype option as one that can be read from
io.helidon.config.Config.-
Optional Element Summary
Optional ElementsModifier and TypeOptional ElementDescriptionbooleanIf set totrue, the nested configurable object will not have its own config key, but will use the config of the current configurable object.booleanWhether to include this option in generated configuration metadata.Override "guessed" configuration key.
-
Element Details
-
value
String valueOverride "guessed" configuration key. The configuration key is the method name converted to snake case by default.- Returns:
- custom configuration key
- Default:
""
-
merge
boolean mergeIf set totrue, the nested configurable object will not have its own config key, but will use the config of the current configurable object.- Returns:
- whether to merge the nested object into this object
- Default:
false
-
metadata
boolean metadataWhether to include this option in generated configuration metadata. This setting does not affect configuration reading.- Returns:
- whether to include this option in generated configuration metadata
- Default:
true
-