Class SpincastTestingPostgresConfigDefault
java.lang.Object
org.spincast.testing.core.postgres.SpincastTestingPostgresConfigDefault
- All Implemented Interfaces:
SpincastTestingPostgresConfig
public class SpincastTestingPostgresConfigDefault
extends Object
implements SpincastTestingPostgresConfig
-
Constructor Summary
ConstructorsConstructorDescriptionSpincastTestingPostgresConfigDefault(File dataDir, SpincastUtils spincastUtils) -
Method Summary
Modifier and TypeMethodDescriptionintThe port to use.protected SpincastUtilsbooleanWill reset the "public" schema if it exists at startup.
-
Constructor Details
-
SpincastTestingPostgresConfigDefault
@Inject public SpincastTestingPostgresConfigDefault(@Nullable File dataDir, SpincastUtils spincastUtils)
-
-
Method Details
-
getSpincastUtils
-
getDataTempDir
- Specified by:
getDataTempDirin interfaceSpincastTestingPostgresConfig
-
getPortToUse
public int getPortToUse()Description copied from interface:SpincastTestingPostgresConfigThe port to use.By default, a random free port is picked.
- Specified by:
getPortToUsein interfaceSpincastTestingPostgresConfig
-
isResetSchemaOnInit
public boolean isResetSchemaOnInit()Description copied from interface:SpincastTestingPostgresConfigWill reset the "public" schema if it exists at startup.- Specified by:
isResetSchemaOnInitin interfaceSpincastTestingPostgresConfig
-