Index

A B C E G H I J K L N O P S T V 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form

A

accepts(String, Class<?>, Class<?>) - Method in class org.springframework.boot.testcontainers.service.connection.ContainerConnectionSource
Return if this source accepts the given connection.
afterPropertiesSet() - Method in class org.springframework.boot.testcontainers.service.connection.ContainerConnectionDetailsFactory.ContainerConnectionDetails
 
ANY_CONNECTION_NAME - Static variable in class org.springframework.boot.testcontainers.service.connection.ContainerConnectionDetailsFactory
Constant passed to the constructor when any connection name is accepted.
attach(Environment) - Static method in class org.springframework.boot.testcontainers.properties.TestcontainersPropertySource
Deprecated.
 
attach(Environment, BeanDefinitionRegistry) - Static method in class org.springframework.boot.testcontainers.properties.TestcontainersPropertySource
Deprecated.
 

B

BeforeTestcontainerUsedEvent - Class in org.springframework.boot.testcontainers.lifecycle
Deprecated, for removal: This API element is subject to removal in a future version.
since 3.4.0 for removal in 4.0.0 in favor of property registration using a DynamicPropertyRegistrar bean that injects the Container from which the properties will be sourced.
BeforeTestcontainerUsedEvent(Object) - Constructor for class org.springframework.boot.testcontainers.lifecycle.BeforeTestcontainerUsedEvent
Deprecated.
 

C

certificate() - Element in annotation interface org.springframework.boot.testcontainers.service.connection.PemKeyStore
The location or content of the certificate or certificate chain in PEM format.
certificate() - Element in annotation interface org.springframework.boot.testcontainers.service.connection.PemTrustStore
The location or content of the certificate or certificate chain in PEM format.
ciphers() - Element in annotation interface org.springframework.boot.testcontainers.service.connection.Ssl
The ciphers that can be used for the SSL connection.
ContainerConnectionDetails(ContainerConnectionSource<C>) - Constructor for class org.springframework.boot.testcontainers.service.connection.ContainerConnectionDetailsFactory.ContainerConnectionDetails
ContainerConnectionDetailsFactory<C extends org.testcontainers.containers.Container<?>,D extends org.springframework.boot.autoconfigure.service.connection.ConnectionDetails> - Class in org.springframework.boot.testcontainers.service.connection
Base class for ConnectionDetailsFactory implementations that provide ConnectionDetails from a ContainerConnectionSource.
ContainerConnectionDetailsFactory() - Constructor for class org.springframework.boot.testcontainers.service.connection.ContainerConnectionDetailsFactory
Create a new ContainerConnectionDetailsFactory instance that accepts any connection name.
ContainerConnectionDetailsFactory(String, String...) - Constructor for class org.springframework.boot.testcontainers.service.connection.ContainerConnectionDetailsFactory
Create a new ContainerConnectionDetailsFactory instance with the given connection name restriction.
ContainerConnectionDetailsFactory(List<String>, String...) - Constructor for class org.springframework.boot.testcontainers.service.connection.ContainerConnectionDetailsFactory
Create a new ContainerConnectionDetailsFactory instance with the given supported connection names.
ContainerConnectionDetailsFactory.ContainerConnectionDetails<C extends org.testcontainers.containers.Container<?>> - Class in org.springframework.boot.testcontainers.service.connection
Base class for ConnectionDetails results that are backed by a ContainerConnectionSource.
ContainerConnectionSource<C extends org.testcontainers.containers.Container<?>> - Class in org.springframework.boot.testcontainers.service.connection
Passed to ContainerConnectionDetailsFactory to provide details of the @ServiceConnection annotated Container that provides the service.

E

enabledProtocols() - Element in annotation interface org.springframework.boot.testcontainers.service.connection.Ssl
The protocols that are enabled for the SSL connection.

G

getAnnotations() - Method in interface org.springframework.boot.testcontainers.beans.TestcontainerBeanDefinition
Return any annotations declared alongside the container.
getConnectionDetails(ContainerConnectionSource<C>) - Method in class org.springframework.boot.testcontainers.service.connection.ContainerConnectionDetailsFactory
 
getContainer() - Method in class org.springframework.boot.testcontainers.service.connection.ContainerConnectionDetailsFactory.ContainerConnectionDetails
Return the container that back this connection details instance.
getContainerConnectionDetails(ContainerConnectionSource<C>) - Method in class org.springframework.boot.testcontainers.service.connection.ContainerConnectionDetailsFactory
Get the ConnectionDetails from the given ContainerConnectionSource source.
getContainerImageName() - Method in interface org.springframework.boot.testcontainers.beans.TestcontainerBeanDefinition
Return the container image name or null if the image name is not yet known.
getOrigin() - Method in class org.springframework.boot.testcontainers.service.connection.ContainerConnectionDetailsFactory.ContainerConnectionDetails
 
getOrigin() - Method in class org.springframework.boot.testcontainers.service.connection.ContainerConnectionSource
 
getProperty(String) - Method in class org.springframework.boot.testcontainers.properties.TestcontainersPropertySource
Deprecated.
 
getSslBundle() - Method in class org.springframework.boot.testcontainers.service.connection.ContainerConnectionDetailsFactory.ContainerConnectionDetails
Return the SslBundle to use with this connection or null.

H

hasAnnotation(Class<? extends Annotation>) - Method in class org.springframework.boot.testcontainers.service.connection.ContainerConnectionDetailsFactory.ContainerConnectionDetails
Whether the field or bean is annotated with the given annotation.

I

ImportTestcontainers - Annotation Interface in org.springframework.boot.testcontainers.context
Imports idiomatic Testcontainers declaration classes into the Spring ApplicationContext.
initialize(ConfigurableApplicationContext) - Method in class org.springframework.boot.testcontainers.lifecycle.TestcontainersLifecycleApplicationContextInitializer
 

J

JksKeyStore - Annotation Interface in org.springframework.boot.testcontainers.service.connection
Configures the JksSslStoreBundle key store to use with an SSL supported @ServiceConnection.
JksTrustStore - Annotation Interface in org.springframework.boot.testcontainers.service.connection
Configures the JksSslStoreBundle trust store to use with an SSL supported @ServiceConnection.

K

keyAlias() - Element in annotation interface org.springframework.boot.testcontainers.service.connection.Ssl
The alias that should be used to access the key.
keyPassword() - Element in annotation interface org.springframework.boot.testcontainers.service.connection.Ssl
The password that should be used to access the key.

L

location() - Element in annotation interface org.springframework.boot.testcontainers.service.connection.JksKeyStore
The location of the resource containing the store content.
location() - Element in annotation interface org.springframework.boot.testcontainers.service.connection.JksTrustStore
The location of the resource containing the store content.

N

name() - Element in annotation interface org.springframework.boot.testcontainers.service.connection.ServiceConnection
The name of the service being connected to.

O

org.springframework.boot.testcontainers.beans - package org.springframework.boot.testcontainers.beans
Spring bean support classes for Testcontainers.
org.springframework.boot.testcontainers.context - package org.springframework.boot.testcontainers.context
Spring context support classes for Testcontainers.
org.springframework.boot.testcontainers.lifecycle - package org.springframework.boot.testcontainers.lifecycle
Utilities and helpers to allow testcontainers to be used in a Spring ApplicationContext.
org.springframework.boot.testcontainers.properties - package org.springframework.boot.testcontainers.properties
Dynamic container properties support.
org.springframework.boot.testcontainers.service.connection - package org.springframework.boot.testcontainers.service.connection
General support for service connections in tests.

P

PARALLEL - Enum constant in enum class org.springframework.boot.testcontainers.lifecycle.TestcontainersStartup
Startup containers in parallel.
password() - Element in annotation interface org.springframework.boot.testcontainers.service.connection.JksKeyStore
The password used to access the store.
password() - Element in annotation interface org.springframework.boot.testcontainers.service.connection.JksTrustStore
The password used to access the store.
PemKeyStore - Annotation Interface in org.springframework.boot.testcontainers.service.connection
Configures the PemSslStoreBundle key store to use with an SSL supported @ServiceConnection.
PemTrustStore - Annotation Interface in org.springframework.boot.testcontainers.service.connection
Configures the PemSslStoreBundle trust store to use with an SSL supported @ServiceConnection.
privateKey() - Element in annotation interface org.springframework.boot.testcontainers.service.connection.PemKeyStore
The location or content of the private key in PEM format.
privateKey() - Element in annotation interface org.springframework.boot.testcontainers.service.connection.PemTrustStore
The location or content of the private key in PEM format.
privateKeyPassword() - Element in annotation interface org.springframework.boot.testcontainers.service.connection.PemKeyStore
The password used to decrypt an encrypted private key.
privateKeyPassword() - Element in annotation interface org.springframework.boot.testcontainers.service.connection.PemTrustStore
The password used to decrypt an encrypted private key.
PROPERTY - Static variable in enum class org.springframework.boot.testcontainers.lifecycle.TestcontainersStartup
The Environment property used to change the TestcontainersStartup strategy.
protocol() - Element in annotation interface org.springframework.boot.testcontainers.service.connection.Ssl
The protocol to use for the SSL connection.
provider() - Element in annotation interface org.springframework.boot.testcontainers.service.connection.JksKeyStore
The provider for the store.
provider() - Element in annotation interface org.springframework.boot.testcontainers.service.connection.JksTrustStore
The provider for the store.

S

SEQUENTIAL - Enum constant in enum class org.springframework.boot.testcontainers.lifecycle.TestcontainersStartup
Startup containers sequentially.
ServiceConnection - Annotation Interface in org.springframework.boot.testcontainers.service.connection
Indicates that a field or method is a ContainerConnectionSource which provides a service that can be connected to.
ServiceConnectionAutoConfiguration - Class in org.springframework.boot.testcontainers.service.connection
Auto-configuration for @ServiceConnection annotated Container beans.
setApplicationContext(ApplicationContext) - Method in class org.springframework.boot.testcontainers.service.connection.ContainerConnectionDetailsFactory.ContainerConnectionDetails
Deprecated, for removal: This API element is subject to removal in a future version.
sourceAccepts(ContainerConnectionSource<C>, Class<?>, Class<?>) - Method in class org.springframework.boot.testcontainers.service.connection.ContainerConnectionDetailsFactory
Return if the given source accepts the connection.
Ssl - Annotation Interface in org.springframework.boot.testcontainers.service.connection
Configures the SslOptions, @SslBundleKey and protocol to use with an SSL supported @ServiceConnection.
start(Startable) - Static method in enum class org.springframework.boot.testcontainers.lifecycle.TestcontainersStartup
Start the given Startable unless is's detected as already running.

T

TestcontainerBeanDefinition - Interface in org.springframework.boot.testcontainers.beans
Extended BeanDefinition interface used to register testcontainer beans.
TestcontainersLifecycleApplicationContextInitializer - Class in org.springframework.boot.testcontainers.lifecycle
ApplicationContextInitializer to manage the lifecycle of startable containers.
TestcontainersLifecycleApplicationContextInitializer() - Constructor for class org.springframework.boot.testcontainers.lifecycle.TestcontainersLifecycleApplicationContextInitializer
 
TestcontainersPropertySource - Class in org.springframework.boot.testcontainers.properties
Deprecated, for removal: This API element is subject to removal in a future version.
since 3.4.0 for removal in 4.0.0 in favor of declaring one or more DynamicPropertyRegistrar beans.
TestcontainersPropertySourceAutoConfiguration - Class in org.springframework.boot.testcontainers.properties
Auto-configuration to add support for properties sourced from a Testcontainers container.
TestcontainersPropertySourceAutoConfiguration() - Constructor for class org.springframework.boot.testcontainers.properties.TestcontainersPropertySourceAutoConfiguration
 
TestcontainersStartup - Enum Class in org.springframework.boot.testcontainers.lifecycle
Testcontainers startup strategies.
toString() - Method in class org.springframework.boot.testcontainers.service.connection.ContainerConnectionSource
 
type() - Element in annotation interface org.springframework.boot.testcontainers.service.connection.JksKeyStore
The type of the store to create, e.g.
type() - Element in annotation interface org.springframework.boot.testcontainers.service.connection.JksTrustStore
The type of the store to create, e.g.
type() - Element in annotation interface org.springframework.boot.testcontainers.service.connection.PemKeyStore
The type of the store to create, e.g.
type() - Element in annotation interface org.springframework.boot.testcontainers.service.connection.PemTrustStore
The type of the store to create, e.g.
type() - Element in annotation interface org.springframework.boot.testcontainers.service.connection.ServiceConnection
A restriction to types of ConnectionDetails that can be created from this connection.

V

value() - Element in annotation interface org.springframework.boot.testcontainers.context.ImportTestcontainers
The declaration classes to import.
value() - Element in annotation interface org.springframework.boot.testcontainers.service.connection.JksKeyStore
value() - Element in annotation interface org.springframework.boot.testcontainers.service.connection.JksTrustStore
value() - Element in annotation interface org.springframework.boot.testcontainers.service.connection.PemKeyStore
value() - Element in annotation interface org.springframework.boot.testcontainers.service.connection.PemTrustStore
value() - Element in annotation interface org.springframework.boot.testcontainers.service.connection.ServiceConnection
The name of the service being connected to.
valueOf(String) - Static method in enum class org.springframework.boot.testcontainers.lifecycle.TestcontainersStartup
Returns the enum constant of this class with the specified name.
values() - Static method in enum class org.springframework.boot.testcontainers.lifecycle.TestcontainersStartup
Returns an array containing the constants of this enum class, in the order they are declared.
A B C E G H I J K L N O P S T V 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form