Uses of Class
de.softwareforge.testing.postgres.embedded.EmbeddedPostgres.Builder
Packages that use EmbeddedPostgres.Builder
-
Uses of EmbeddedPostgres.Builder in de.softwareforge.testing.postgres.embedded
Fields in de.softwareforge.testing.postgres.embedded with type parameters of type EmbeddedPostgres.BuilderMethods in de.softwareforge.testing.postgres.embedded that return EmbeddedPostgres.BuilderModifier and TypeMethodDescriptionEmbeddedPostgres.Builder.addConnectionProperty(String key, String value) Adds a connection property.EmbeddedPostgres.Builder.addInitDbConfiguration(String key, String value) Adds a configuration parameters for theinitdbcommand.EmbeddedPostgres.Builder.addServerConfiguration(String key, String value) Adds a server configuration parameter.static EmbeddedPostgres.BuilderEmbeddedPostgres.builder()Returns a newEmbeddedPostgres.Builder.static EmbeddedPostgres.BuilderEmbeddedPostgres.builderWithDefaults()Returns a builder with defaultwithDefaults()configuration already applied.EmbeddedPostgres.Builder.setDataDirectory(File dataDirectory) Explicitly set the location of the data directory.EmbeddedPostgres.Builder.setDataDirectory(String dataDirectory) Explicitly set the location of the data directory.EmbeddedPostgres.Builder.setDataDirectory(Path dataDirectory) Explicitly set the location of the data directory.EmbeddedPostgres.Builder.setErrorRedirector(ProcessBuilder.Redirect errorRedirector) Set aProcessBuilder.Redirectinstance to receive stderr output from the spawned processes.EmbeddedPostgres.Builder.setInstallationBaseDirectory(File installationBaseDirectory) Sets the directory where the PostgreSQL distribution is unpacked.EmbeddedPostgres.Builder.setNativeBinaryManager(NativeBinaryManager nativeBinaryManager) Sets theNativeBinaryManagerthat provides the location of the postgres installation.EmbeddedPostgres.Builder.setOutputRedirector(ProcessBuilder.Redirect outputRedirector) Set aProcessBuilder.Redirectinstance to receive stdout output from the spawned processes.EmbeddedPostgres.Builder.setPort(int port) Explicitly set the TCP port for the PostgreSQL server.EmbeddedPostgres.Builder.setRemoveDataOnShutdown(boolean removeDataOnShutdown) Whether to remove the data directory on server shutdown.EmbeddedPostgres.Builder.setServerStartupWait(Duration serverStartupWait) Sets the time that the builder will wait for the PostgreSQL server instance to start.EmbeddedPostgres.Builder.setServerVersion(String serverVersion) Set the version of the PostgreSQL server.EmbeddedPostgres.Builder.useLocalPostgresInstallation(File directory) Use a locally installed PostgreSQL server for tests.EmbeddedPostgres.Builder.withDefaults()Apply a set of defaults to the database server: timezone: UTC synchronous_commit: off max_connections: 300Method parameters in de.softwareforge.testing.postgres.embedded with type arguments of type EmbeddedPostgres.BuilderModifier and TypeMethodDescriptionDatabaseManager.Builder.withInstancePreparer(EmbeddedPostgresPreparer<EmbeddedPostgres.Builder> instancePreparer) Add a preparer for theEmbeddedPostgres.Builderobject.DatabaseManager.Builder.withInstancePreparers(Set<EmbeddedPostgresPreparer<EmbeddedPostgres.Builder>> instancePreparers) Add preparers for theEmbeddedPostgres.Builderobject.