Module io.helidon.builder.api
Package io.helidon.builder.api
Annotation Interface Prototype.Configured
- Enclosing class:
Prototype
A blueprint annotated with this annotation will create a prototype that can be created from a
Config instance. The builder will also have a method config(Config) that
reads all options annotated with Option.Configured from the config.-
Optional Element Summary
Optional Elements
-
Element Details
-
value
String valueConfiguration node this type is read from. This implies a root configuration node by default, can be overridden usingroot().- Returns:
- configuration key of this type, from the root of configuration
- Default:
""
-
root
boolean rootIfvalue()is specified, it is considered to be a root configuration node. Set this property tofalseto explicitly mark this configuration as non-root. This is useful for services that provide an implementation of a provider.- Returns:
- whether this is a root node, ignored if
value()is an empty string
- Default:
true
-