All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.quarkus.runtime.annotations.ConfigGroup Maven / Gradle / Ivy

There is a newer version: 3.17.5
Show newest version
package io.quarkus.runtime.annotations;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * 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 {@code Optional} or {@code null}. It is expected that, in the event * that a group property can be disabled, this should be done using a {@code boolean} property (preferably the unnamed * property or a {@code 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
 
 * 
*/ @Retention(RetentionPolicy.RUNTIME) @Target(ElementType.TYPE) public @interface ConfigGroup { }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy