io.quarkus.runtime.ApplicationConfig Maven / Gradle / Ivy
package io.quarkus.runtime;
import java.util.Optional;
import io.quarkus.runtime.annotations.ConfigItem;
import io.quarkus.runtime.annotations.ConfigPhase;
import io.quarkus.runtime.annotations.ConfigRoot;
@ConfigRoot(phase = ConfigPhase.BUILD_AND_RUN_TIME_FIXED)
public class ApplicationConfig {
/**
* The name of the application.
* If not set, defaults to the name of the project (except for tests where it is not set at all).
*/
@ConfigItem
public Optional name;
/**
* The version of the application.
* If not set, defaults to the version of the project (except for tests where it is not set at all).
*/
@ConfigItem
public Optional version;
/**
* The header to use for UI Screen (Swagger UI, GraphQL UI etc).
*/
@ConfigItem(defaultValue = "{applicationName} (powered by Quarkus)")
public Optional uiHeader;
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy