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

xyz.block.ftl.deployment.BannerConfigSource Maven / Gradle / Ivy

There is a newer version: 0.368.1
Show newest version
package xyz.block.ftl.deployment;

import java.util.Set;

import org.eclipse.microprofile.config.spi.ConfigSource;

public class BannerConfigSource implements ConfigSource {

    public static final String QUARKUS_BANNER_ENABLED = "quarkus.banner.enabled";

    @Override
    public Set getPropertyNames() {
        return Set.of(QUARKUS_BANNER_ENABLED);
    }

    @Override
    public String getValue(String propertyName) {
        if (propertyName.equals(QUARKUS_BANNER_ENABLED)) {
            return "false";
        }
        return null;
    }

    @Override
    public String getName() {
        return "Quarkus Banner";
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy