Package io.ebean.docker.commands
Class MariaDBConfig
- java.lang.Object
-
- io.ebean.docker.commands.BaseConfig
-
- io.ebean.docker.commands.DbConfig
-
- io.ebean.docker.commands.MySqlConfig
-
- io.ebean.docker.commands.MariaDBConfig
-
- All Implemented Interfaces:
ContainerConfig
public class MariaDBConfig extends MySqlConfig
MariaDB configuration. Uses mariadb image.
-
-
Constructor Summary
Constructors Constructor Description MariaDBConfig(String version)MariaDBConfig(String version, Properties properties)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringjdbcAdminUrl()Return a DB connection url for the admin database user.StringjdbcUrl()Return a DB connection url or null if not a database container.-
Methods inherited from class io.ebean.docker.commands.DbConfig
createAdminConnection, createAdminConnection, createConnection, createConnectionNoSchema, getAdminPassword, getAdminUsername, getDbName, getExtensions, getExtraDb, getExtraDbInitSqlFile, getExtraDbPassword, getExtraDbSeedSqlFile, getExtraDbUser, getInitSqlFile, getPassword, getSchema, getSeedSqlFile, getTmpfs, getUsername, initDefaultSchema, isFastStartMode, isInMemory, setAdminPassword, setAdminUser, setDbName, setExtensions, setExtraDb, setExtraDbInitSqlFile, setExtraDbPassword, setExtraDbSeedSqlFile, setExtraDbUser, setFastStartMode, setInitSqlFile, setInMemory, setPassword, setProperties, setSchema, setSeedSqlFile, setTmpfs, setUser, startDescription, summary
-
Methods inherited from class io.ebean.docker.commands.BaseConfig
clearStopMode, containerName, getAdminInternalPort, getAdminPort, getCharacterSet, getCollation, getDocker, getImage, getInternalPort, getMaxReadyAttempts, getPort, getStartMode, getStopMode, isDefaultCollation, isExplicitCollation, isStopModeNone, platform, setAdminInternalPort, setAdminPort, setCharacterSet, setCollation, setContainerName, setDocker, setImage, setInternalPort, setMaxReadyAttempts, setPort, setShutdownMode, setStartMode, setStopMode, shutdownMode, stopDescription, version
-
-
-
-
Constructor Detail
-
MariaDBConfig
public MariaDBConfig(String version, Properties properties)
-
MariaDBConfig
public MariaDBConfig(String version)
-
-
Method Detail
-
jdbcUrl
public String jdbcUrl()
Description copied from interface:ContainerConfigReturn a DB connection url or null if not a database container.- Specified by:
jdbcUrlin interfaceContainerConfig- Overrides:
jdbcUrlin classMySqlConfig
-
jdbcAdminUrl
public String jdbcAdminUrl()
Description copied from interface:ContainerConfigReturn a DB connection url for the admin database user.- Specified by:
jdbcAdminUrlin interfaceContainerConfig- Overrides:
jdbcAdminUrlin classMySqlConfig
-
-