Annotation Type ConfigGroup


  • @Retention(RUNTIME)
    @Target(TYPE)
    public @interface ConfigGroup
    Indicates that a given class can be injected as a configuration object. A configuration group can contain multiple nested items and configuration groups.

    Configuration group properties cannot be Optional or null. It is expected that, in the event that a group property can be disabled, this should be done using a boolean property (preferably the unnamed property or a enabled property). For example:

     
    quarkus.extra-fast-mode         = yes
    quarkus.extra-fast-mode.gadgets = 20
    
     
    Or:
     
    quarkus.laser-beam.enabled    = true
    quarkus.laser-beam.mount-mode = sharks