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

io.quarkiverse.quinoa.deployment.config.FrameworkConfig Maven / Gradle / Ivy

package io.quarkiverse.quinoa.deployment.config;

import java.util.Objects;

import io.quarkus.runtime.annotations.ConfigGroup;
import io.smallrye.config.WithDefault;

@ConfigGroup
public interface FrameworkConfig {

    static boolean isEqual(FrameworkConfig f1, FrameworkConfig f2) {
        if (!Objects.equals(f1.detection(), f2.detection())) {
            return false;
        }
        return true;
    }

    /**
     * When true, the UI Framework will be auto-detected if possible
     */
    @WithDefault("true")
    boolean detection();
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy