Package io.ebean.docker.commands
Class NuoDBConfig
- java.lang.Object
-
- io.ebean.docker.commands.BaseConfig
-
- io.ebean.docker.commands.DbConfig
-
- io.ebean.docker.commands.NuoDBConfig
-
- All Implemented Interfaces:
ContainerConfig
public class NuoDBConfig extends DbConfig
-
-
Constructor Summary
Constructors Constructor Description NuoDBConfig()NuoDBConfig(String version)NuoDBConfig(String version, Properties properties)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetInternalPort2()intgetInternalPort3()StringgetLabels()StringgetNetwork()intgetPort2()intgetPort3()StringgetSm1()StringgetTe1()StringjdbcUrl()Return a DB connection url or null if not a database container.voidsetInternalPort2(int internalPort2)voidsetInternalPort3(int internalPort3)NuoDBConfigsetLabels(String labels)NuoDBConfigsetNetwork(String network)voidsetPort2(int port2)voidsetPort3(int port3)NuoDBConfigsetSm1(String sm1)NuoDBConfigsetTe1(String te1)Stringsummary()Return summary of the port db name and other details.-
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
-
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, jdbcAdminUrl, platform, setAdminInternalPort, setAdminPort, setCharacterSet, setCollation, setContainerName, setDocker, setImage, setInternalPort, setMaxReadyAttempts, setPort, setShutdownMode, setStartMode, setStopMode, shutdownMode, stopDescription, version
-
-
-
-
Constructor Detail
-
NuoDBConfig
public NuoDBConfig(String version, Properties properties)
-
NuoDBConfig
public NuoDBConfig(String version)
-
NuoDBConfig
public NuoDBConfig()
-
-
Method Detail
-
summary
public String summary()
Description copied from class:DbConfigReturn summary of the port db name and other details.
-
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
-
getPort2
public int getPort2()
-
setPort2
public void setPort2(int port2)
-
getInternalPort2
public int getInternalPort2()
-
setInternalPort2
public void setInternalPort2(int internalPort2)
-
getPort3
public int getPort3()
-
setPort3
public void setPort3(int port3)
-
getInternalPort3
public int getInternalPort3()
-
setInternalPort3
public void setInternalPort3(int internalPort3)
-
getNetwork
public String getNetwork()
-
setNetwork
public NuoDBConfig setNetwork(String network)
-
setSm1
public NuoDBConfig setSm1(String sm1)
-
setTe1
public NuoDBConfig setTe1(String te1)
-
setLabels
public NuoDBConfig setLabels(String labels)
-
-