Package software.tnb.db.mysql.service
Class MySQL
- java.lang.Object
-
- software.tnb.db.common.service.SQL
-
- software.tnb.db.mysql.service.MySQL
-
- All Implemented Interfaces:
org.junit.jupiter.api.extension.AfterAllCallback,org.junit.jupiter.api.extension.BeforeAllCallback,org.junit.jupiter.api.extension.Extension,WithDockerImage,WithExternalHostname,WithName,Service
- Direct Known Subclasses:
LocalMySQL,OpenshiftMySQL
public abstract class MySQL extends SQL
-
-
Field Summary
Fields Modifier and Type Field Description protected static intPORT
-
Constructor Summary
Constructors Constructor Description MySQL()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected Class<? extends SQLAccount>accountClass()Map<String,String>containerEnvironment()StringdefaultImage()StringjdbcConnectionUrl()-
Methods inherited from class software.tnb.db.common.service.SQL
account, externalHostname, hostname, localConnectionUrl, port, validation
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface software.tnb.common.deployment.WithDockerImage
image
-
-
-
-
Field Detail
-
PORT
protected static final int PORT
- See Also:
- Constant Field Values
-
-
Method Detail
-
defaultImage
public String defaultImage()
-
accountClass
protected Class<? extends SQLAccount> accountClass()
- Specified by:
accountClassin classSQL
-
jdbcConnectionUrl
public String jdbcConnectionUrl()
- Specified by:
jdbcConnectionUrlin classSQL
-
containerEnvironment
public Map<String,String> containerEnvironment()
- Specified by:
containerEnvironmentin classSQL
-
-