Class LocalMySQL
- java.lang.Object
-
- software.tnb.db.common.service.SQL
-
- software.tnb.db.mysql.service.MySQL
-
- software.tnb.db.mysql.resource.local.LocalMySQL
-
- All Implemented Interfaces:
org.junit.jupiter.api.extension.AfterAllCallback,org.junit.jupiter.api.extension.BeforeAllCallback,org.junit.jupiter.api.extension.Extension,Deployable,WithDockerImage,WithExternalHostname,WithName,Service
@AutoService(MySQL.class) public class LocalMySQL extends MySQL implements Deployable
-
-
Constructor Summary
Constructors Constructor Description LocalMySQL()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcloseResources()voiddeploy()Stringhostname()StringjdbcConnectionUrl()Stringname()voidopenResources()intport()voidundeploy()-
Methods inherited from class software.tnb.db.mysql.service.MySQL
accountClass, containerEnvironment, defaultImage
-
Methods inherited from class software.tnb.db.common.service.SQL
account, externalHostname, localConnectionUrl, 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.Deployable
afterAll, beforeAll
-
Methods inherited from interface software.tnb.common.deployment.WithDockerImage
image
-
-
-
-
Method Detail
-
jdbcConnectionUrl
public String jdbcConnectionUrl()
- Overrides:
jdbcConnectionUrlin classMySQL
-
deploy
public void deploy()
- Specified by:
deployin interfaceDeployable
-
undeploy
public void undeploy()
- Specified by:
undeployin interfaceDeployable
-
openResources
public void openResources()
- Specified by:
openResourcesin interfaceDeployable
-
closeResources
public void closeResources()
- Specified by:
closeResourcesin interfaceDeployable
-
-