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;

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

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

        super.initializeDefaults(boxConfiguration);
    }

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




© 2015 - 2024 Weber Informatics LLC | Privacy Policy