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

it.unibz.inf.ontop.injection.OntopSQLCredentialConfiguration Maven / Gradle / Ivy

There is a newer version: 5.2.1.1
Show newest version
package it.unibz.inf.ontop.injection;

import it.unibz.inf.ontop.injection.impl.OntopSQLCredentialConfigurationImpl;

/**
 * Also provides the credentials
 */
public interface OntopSQLCredentialConfiguration extends OntopSQLCoreConfiguration {

    @Override
    OntopSQLCredentialSettings getSettings();

    static Builder defaultBuilder() {
        return new OntopSQLCredentialConfigurationImpl.BuilderImpl<>();
    }

    interface OntopSQLCredentialBuilderFragment> {
        B jdbcUser(String username);
        B jdbcPassword(String password);
    }

    interface Builder> extends OntopSQLCredentialBuilderFragment,
            OntopSQLCoreConfiguration.Builder {

        @Override
        OntopSQLCredentialConfiguration build();
    }
}