Index

A B C D E F G H I J L M N P S T U W 
All Classes and Interfaces|All Packages|Constant Field Values

A

addConnectionProperty(String, String) - Method in class de.softwareforge.testing.postgres.embedded.EmbeddedPostgres.Builder
 
addLocaleConfiguration(String, String) - Method in class de.softwareforge.testing.postgres.embedded.EmbeddedPostgres.Builder
 
addProperty(String, String) - Method in class de.softwareforge.testing.postgres.embedded.DatabaseInfo.Builder
 
addServerConfiguration(String, String) - Method in class de.softwareforge.testing.postgres.embedded.EmbeddedPostgres.Builder
 
afterAll(ExtensionContext) - Method in class de.softwareforge.testing.postgres.junit5.EmbeddedPgExtension
 
afterEach(ExtensionContext) - Method in class de.softwareforge.testing.postgres.junit5.EmbeddedPgExtension
 
asDataSource() - Method in class de.softwareforge.testing.postgres.embedded.DatabaseInfo
 
asJdbcUrl() - Method in class de.softwareforge.testing.postgres.embedded.DatabaseInfo
 
asString() - Method in class de.softwareforge.testing.postgres.embedded.DatabaseInfo
 

B

beforeAll(ExtensionContext) - Method in class de.softwareforge.testing.postgres.junit5.EmbeddedPgExtension
 
beforeEach(ExtensionContext) - Method in class de.softwareforge.testing.postgres.junit5.EmbeddedPgExtension
 
build() - Method in class de.softwareforge.testing.postgres.embedded.DatabaseInfo.Builder
 
build() - Method in class de.softwareforge.testing.postgres.embedded.DatabaseManager.Builder
 
build() - Method in class de.softwareforge.testing.postgres.embedded.DatabaseManager.DatabaseManagerBuilder
 
build() - Method in class de.softwareforge.testing.postgres.embedded.EmbeddedPostgres.Builder
 
builder() - Static method in class de.softwareforge.testing.postgres.embedded.DatabaseInfo
 
builder() - Static method in class de.softwareforge.testing.postgres.embedded.EmbeddedPostgres
Returns a new builder.
Builder() - Constructor for class de.softwareforge.testing.postgres.embedded.DatabaseInfo.Builder
 
builderWithDefaults() - Static method in class de.softwareforge.testing.postgres.embedded.EmbeddedPostgres
Returns a builder with default EmbeddedPostgres.Builder.withDefaults() configuration already applied.

C

close() - Method in class de.softwareforge.testing.postgres.embedded.DatabaseManager
 
close() - Method in class de.softwareforge.testing.postgres.embedded.EmbeddedPostgres
Closing an EmbeddedPostgres instance shuts down the connected database instance.
createDatabaseInfo() - Method in class de.softwareforge.testing.postgres.junit5.EmbeddedPgExtension
Returns a DatabaseInfo describing the database connection.
createDataSource() - Method in class de.softwareforge.testing.postgres.junit5.EmbeddedPgExtension
Returns the data source for the current instance.
createDataSource(String, String) - Method in class de.softwareforge.testing.postgres.embedded.EmbeddedPostgres
Creates a DataSource with a specific user and database name.
createDefaultDatabaseInfo() - Method in class de.softwareforge.testing.postgres.embedded.EmbeddedPostgres
Creates a DatabaseInfo object describing the default database (normally
createDefaultDataSource() - Method in class de.softwareforge.testing.postgres.embedded.EmbeddedPostgres
Creates a DataSource object that connects to the default databases (normally
createTemplateDataSource() - Method in class de.softwareforge.testing.postgres.embedded.EmbeddedPostgres
Creates a DataSource object that connects to the template database (normally
customize(EmbeddedPostgres.Builder) - Method in interface de.softwareforge.testing.postgres.embedded.EmbeddedPostgres.BuilderCustomizer
 
customize(Consumer<FluentConfiguration>) - Method in class de.softwareforge.testing.postgres.embedded.FlywayPreparer
 

D

DatabaseInfo - Class in de.softwareforge.testing.postgres.embedded
 
DatabaseInfo() - Constructor for class de.softwareforge.testing.postgres.embedded.DatabaseInfo
 
DatabaseInfo.Builder - Class in de.softwareforge.testing.postgres.embedded
 
DatabaseManager - Class in de.softwareforge.testing.postgres.embedded
Manages the various databases within a postgres instance.
DatabaseManager.Builder<T> - Class in de.softwareforge.testing.postgres.embedded
 
DatabaseManager.DatabaseManagerBuilder - Class in de.softwareforge.testing.postgres.embedded
 
DatabaseManagerBuilder(boolean) - Constructor for class de.softwareforge.testing.postgres.embedded.DatabaseManager.DatabaseManagerBuilder
 
DatabasePreparer - Interface in de.softwareforge.testing.postgres.embedded
A DatabasePreparer applies an arbitrary set of changes (e.g.
dbName() - Method in class de.softwareforge.testing.postgres.embedded.DatabaseInfo
 
dbName(String) - Method in class de.softwareforge.testing.postgres.embedded.DatabaseInfo.Builder
 
de.softwareforge.testing.postgres.embedded - package de.softwareforge.testing.postgres.embedded
 
de.softwareforge.testing.postgres.junit5 - package de.softwareforge.testing.postgres.junit5
 
DEFAULT_PG_STARTUP_WAIT - Static variable in class de.softwareforge.testing.postgres.embedded.EmbeddedPostgres
 
defaultInstance() - Static method in class de.softwareforge.testing.postgres.embedded.EmbeddedPostgres
Returns an instance that has been started and configured.

E

EmbeddedPgExtension - Class in de.softwareforge.testing.postgres.junit5
 
EmbeddedPostgres - Class in de.softwareforge.testing.postgres.embedded
Manages a single, embedded Postgres instance.
EmbeddedPostgres.Builder - Class in de.softwareforge.testing.postgres.embedded
 
EmbeddedPostgres.BuilderCustomizer - Interface in de.softwareforge.testing.postgres.embedded
Callback interface to customize a builder in progress.
equals(Object) - Method in class de.softwareforge.testing.postgres.embedded.EmbeddedPostgres
 
exception() - Method in class de.softwareforge.testing.postgres.embedded.DatabaseInfo
 

F

FlywayPreparer - Class in de.softwareforge.testing.postgres.embedded
 
forClasspathLocation(String...) - Static method in class de.softwareforge.testing.postgres.embedded.FlywayPreparer
 
forException(SQLException) - Static method in class de.softwareforge.testing.postgres.embedded.DatabaseInfo
 

G

getDatabaseInfo() - Method in class de.softwareforge.testing.postgres.embedded.DatabaseManager
 
getDefault() - Static method in class de.softwareforge.testing.postgres.embedded.UncompressBundleDirectoryResolver
 
getDirectory(File) - Method in interface de.softwareforge.testing.postgres.embedded.PgDirectoryResolver
 
getDirectory(File) - Method in class de.softwareforge.testing.postgres.embedded.UncompressBundleDirectoryResolver
 
getEmbeddedPostgres() - Method in class de.softwareforge.testing.postgres.embedded.DatabaseManager
 
getPort() - Method in class de.softwareforge.testing.postgres.embedded.EmbeddedPostgres
Returns the TCP port for this Postgres instance.

H

hashCode() - Method in class de.softwareforge.testing.postgres.embedded.EmbeddedPostgres
 

I

instance() - Static method in class de.softwareforge.testing.postgres.junit5.MultiDatabaseBuilder
Create a vanilla database -- just initialized, no customizations applied.
instance() - Static method in class de.softwareforge.testing.postgres.junit5.SingleDatabaseBuilder
Create a vanilla database -- just initialized, no customizations applied.
instanceId() - Method in class de.softwareforge.testing.postgres.embedded.EmbeddedPostgres
Returns the instance id for this postgres instance.
instanceWithDefaults() - Static method in class de.softwareforge.testing.postgres.junit5.MultiDatabaseBuilder
Create a vanilla database with standard initializations (EmbeddedPostgres.Builder.withDefaults()).
instanceWithDefaults() - Static method in class de.softwareforge.testing.postgres.junit5.SingleDatabaseBuilder
Create a vanilla database with standard initializations (EmbeddedPostgres.Builder.withDefaults()).

J

JDBC_FORMAT - Static variable in class de.softwareforge.testing.postgres.embedded.DatabaseInfo
 

L

locatePgArchive(String, String) - Method in interface de.softwareforge.testing.postgres.embedded.PgArchiveResolver
Returns an input stream with the postgres archive for the given systen and hardware architecture.
LOG - Static variable in class de.softwareforge.testing.postgres.embedded.DatabaseManager
 

M

multiDatabase() - Static method in class de.softwareforge.testing.postgres.junit5.EmbeddedPgExtension
 
MultiDatabaseBuilder - Class in de.softwareforge.testing.postgres.junit5
Create a new cluster that supports multiple databases.
multiDatabases() - Static method in class de.softwareforge.testing.postgres.embedded.DatabaseManager
 

N

NOOP_PREPARER - Static variable in interface de.softwareforge.testing.postgres.embedded.DatabasePreparer
 

P

PG_DEFAULT_DB - Static variable in class de.softwareforge.testing.postgres.embedded.DatabaseInfo
 
PG_DEFAULT_USER - Static variable in class de.softwareforge.testing.postgres.embedded.DatabaseInfo
 
PgArchiveResolver - Interface in de.softwareforge.testing.postgres.embedded
A strategy for resolving PostgreSQL binaries.
PgDirectoryResolver - Interface in de.softwareforge.testing.postgres.embedded
 
port() - Method in class de.softwareforge.testing.postgres.embedded.DatabaseInfo
 
port(int) - Method in class de.softwareforge.testing.postgres.embedded.DatabaseInfo.Builder
 
prepare(DataSource) - Method in interface de.softwareforge.testing.postgres.embedded.DatabasePreparer
 
prepare(DataSource) - Method in class de.softwareforge.testing.postgres.embedded.FlywayPreparer
 
preparedInstance(DatabasePreparer) - Static method in class de.softwareforge.testing.postgres.junit5.MultiDatabaseBuilder
Create a vanilla database and execute a DatabasePreparer for initialization on it.
preparedInstance(DatabasePreparer) - Static method in class de.softwareforge.testing.postgres.junit5.SingleDatabaseBuilder
Create a vanilla database and execute a DatabasePreparer for initialization on it.
preparedInstanceWithDefaults(DatabasePreparer) - Static method in class de.softwareforge.testing.postgres.junit5.MultiDatabaseBuilder
Create a vanilla database with defaults and execute a DatabasePreparer for initialization on it.
preparedInstanceWithDefaults(DatabasePreparer) - Static method in class de.softwareforge.testing.postgres.junit5.SingleDatabaseBuilder
Create a vanilla database with defaults and execute a DatabasePreparer for initialization on it.
properties() - Method in class de.softwareforge.testing.postgres.embedded.DatabaseInfo
 
properties(ImmutableMap<String, String>) - Method in class de.softwareforge.testing.postgres.embedded.DatabaseInfo.Builder
 

S

setDataDirectory(File) - Method in class de.softwareforge.testing.postgres.embedded.EmbeddedPostgres.Builder
 
setDataDirectory(String) - Method in class de.softwareforge.testing.postgres.embedded.EmbeddedPostgres.Builder
 
setDataDirectory(Path) - Method in class de.softwareforge.testing.postgres.embedded.EmbeddedPostgres.Builder
 
setErrorRedirector(ProcessBuilder.Redirect) - Method in class de.softwareforge.testing.postgres.embedded.EmbeddedPostgres.Builder
 
setInstallationDirectory(File) - Method in class de.softwareforge.testing.postgres.embedded.EmbeddedPostgres.Builder
 
setOutputRedirector(ProcessBuilder.Redirect) - Method in class de.softwareforge.testing.postgres.embedded.EmbeddedPostgres.Builder
 
setPort(int) - Method in class de.softwareforge.testing.postgres.embedded.EmbeddedPostgres.Builder
 
setPostgresBinaryDirectory(File) - Method in class de.softwareforge.testing.postgres.embedded.EmbeddedPostgres.Builder
 
setPostgresDirectoryResolver(PgDirectoryResolver) - Method in class de.softwareforge.testing.postgres.embedded.EmbeddedPostgres.Builder
 
setRemoveDataOnShutdown(boolean) - Method in class de.softwareforge.testing.postgres.embedded.EmbeddedPostgres.Builder
 
setServerStartupWait(Duration) - Method in class de.softwareforge.testing.postgres.embedded.EmbeddedPostgres.Builder
 
singleDatabase() - Static method in class de.softwareforge.testing.postgres.embedded.DatabaseManager
 
singleDatabase() - Static method in class de.softwareforge.testing.postgres.junit5.EmbeddedPgExtension
 
SingleDatabaseBuilder - Class in de.softwareforge.testing.postgres.junit5
Create a new cluster that supports only a single database.
start() - Method in class de.softwareforge.testing.postgres.embedded.DatabaseManager
 

T

toString() - Method in class de.softwareforge.testing.postgres.embedded.EmbeddedPostgres
 

U

UncompressBundleDirectoryResolver - Class in de.softwareforge.testing.postgres.embedded
 
UncompressBundleDirectoryResolver(PgArchiveResolver) - Constructor for class de.softwareforge.testing.postgres.embedded.UncompressBundleDirectoryResolver
 
user() - Method in class de.softwareforge.testing.postgres.embedded.DatabaseInfo
 
user(String) - Method in class de.softwareforge.testing.postgres.embedded.DatabaseInfo.Builder
 

W

withCustomizer(EmbeddedPostgres.BuilderCustomizer) - Method in class de.softwareforge.testing.postgres.embedded.DatabaseManager.Builder
 
withDefaults() - Method in class de.softwareforge.testing.postgres.embedded.EmbeddedPostgres.Builder
Apply a set of defaults to the database server: timezone: UTC synchronous_commit: off max_connections: 300
withPreparer(DatabasePreparer) - Method in class de.softwareforge.testing.postgres.embedded.DatabaseManager.Builder
 
A B C D E F G H I J L M N P S T U W 
All Classes and Interfaces|All Packages|Constant Field Values