package com.atlassian.stash.internal.jdbc;

import javax.annotation.Nonnull;

/**
 * Creates {@link DataSourceConfiguration} instances from JDBC details.
 *
 * @since 4.0
 */
public interface DataSourceConfigurationFactory {

    @Nonnull
    DataSourceConfiguration create(@Nonnull String driverClassName, @Nonnull String url,
                                   @Nonnull String user, @Nonnull String password);
}
