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

io.quarkus.agroal.runtime.AgroalDataSourceSupport Maven / Gradle / Ivy

package io.quarkus.agroal.runtime;

import java.util.Map;
import java.util.Optional;

public class AgroalDataSourceSupport {

    public final boolean disableSslSupport;
    public final boolean mpMetricsPresent;
    public final Map entries;

    public AgroalDataSourceSupport(boolean disableSslSupport, boolean mpMetricsPresent, Map entries) {
        this.disableSslSupport = disableSslSupport;
        this.mpMetricsPresent = mpMetricsPresent;
        this.entries = entries;
    }

    public static class Entry {
        public final String dataSourceName;
        public final String resolvedDbKind;
        public final Optional dbVersion;
        public final String resolvedDriverClass;
        public final boolean isDefault;

        public Entry(String dataSourceName, String resolvedDbKind, Optional dbVersion,
                String resolvedDriverClass,
                boolean isDefault) {
            this.dataSourceName = dataSourceName;
            this.resolvedDbKind = resolvedDbKind;
            this.dbVersion = dbVersion;
            this.resolvedDriverClass = resolvedDriverClass;
            this.isDefault = isDefault;
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy