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

au.net.causal.maven.plugins.boxdb.db.MariaDbFactory Maven / Gradle / Ivy

There is a newer version: 3.3
Show newest version
package au.net.causal.maven.plugins.boxdb.db;

public class MariaDbFactory extends BaseMySqlFactory
{
    public MariaDbFactory()
    {
        super("mariadb");
    }

    @Override
    protected void initializeDefaults(BoxConfiguration boxConfiguration)
    {
        if (boxConfiguration.getDatabaseVersion() == null)
            boxConfiguration.setDatabaseVersion("10.1");

        super.initializeDefaults(boxConfiguration);
    }

    @Override
    protected MariaDbDatabase createDockerDatabase(BoxConfiguration boxConfiguration, ProjectConfiguration projectConfiguration, BoxContext context)
    throws BoxDatabaseException
    {
        return new MariaDbDatabase(boxConfiguration, projectConfiguration, context);
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy