Package io.ebean.docker.commands
Class YugabyteConfig
- java.lang.Object
-
- io.ebean.docker.commands.BaseConfig
-
- io.ebean.docker.commands.DbConfig
-
- io.ebean.docker.commands.YugabyteConfig
-
- All Implemented Interfaces:
ContainerConfig
public class YugabyteConfig extends DbConfig
Yugabyte DB configuration.
-
-
Constructor Summary
Constructors Constructor Description YugabyteConfig(String version)YugabyteConfig(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, getHost, 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
-
YugabyteConfig
public YugabyteConfig(String version, Properties properties)
-
YugabyteConfig
public YugabyteConfig(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 classBaseConfig
-
jdbcAdminUrl
public String jdbcAdminUrl()
Description copied from interface:ContainerConfigReturn a DB connection url for the admin database user.- Specified by:
jdbcAdminUrlin interfaceContainerConfig- Overrides:
jdbcAdminUrlin classBaseConfig
-
-