Package org.spincast.testing.core.h2
Class SpincastTestingH2ConfigDefault
java.lang.Object
org.spincast.testing.core.h2.SpincastTestingH2ConfigDefault
- All Implemented Interfaces:
SpincastTestingH2Config
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionShould a compatibility mode be used by H2? Be default, "MODE=PostgreSQL" will be used.The name of the database.The host on which to start the server.The port on which to start the H2 TCP server.booleanDefaults tofalse.
-
Constructor Details
-
SpincastTestingH2ConfigDefault
public SpincastTestingH2ConfigDefault()
-
-
Method Details
-
getServerHost
Description copied from interface:SpincastTestingH2ConfigThe host on which to start the server. Should probably be "localhost".- Specified by:
getServerHostin interfaceSpincastTestingH2Config
-
getDatabaseName
Description copied from interface:SpincastTestingH2ConfigThe name of the database. Defaults to "test".- Specified by:
getDatabaseNamein interfaceSpincastTestingH2Config
-
getServerPort
Description copied from interface:SpincastTestingH2ConfigThe port on which to start the H2 TCP server. Ifnulla random free port will be used.Defaults to 9092.
- Specified by:
getServerPortin interfaceSpincastTestingH2Config
-
getCompatibilityMode
Description copied from interface:SpincastTestingH2ConfigShould a compatibility mode be used by H2? Be default, "MODE=PostgreSQL" will be used.- Specified by:
getCompatibilityModein interfaceSpincastTestingH2Config
-
isDatabaseToUpper
public boolean isDatabaseToUpper()Description copied from interface:SpincastTestingH2ConfigDefaults tofalse.- Specified by:
isDatabaseToUpperin interfaceSpincastTestingH2Config
-